Hi, thanks to these threads pings on membership was much easier than I thought to set up.
1. The email seems to be coming from some email address that I am not familiar with on my server www-data <firstname.lastname@example.org> I want to change the from address to one that I want.
I tried essentialtalks's suggestion in this post of adding
$headers .= 'From: ' . $_POST['username'] . ' <' . $_POST['email'] . '>';
to pingtest.php but it didn't work.
I then tried Barry's suggestion of adding
mail($to, $subject, $message, $headers, "-f $_POST['email']");
to pingtest.php but that didn't work either.
2. I saw in the notes that I can just change the pingtest.php field
$to = 'email@example.com';
to my email address and it worked, what do I enter so that the subsite admin or subscriber gets the message, so that I don't have to manually enter the email address each time?