My mail function works fine except that it is inserting some default email address as the from address. How can i specify the fom address.
I have this:
mail($_POST['addr'], 'Check out this upcoming event', 'Someone has recommended this event to you: '.$link);
I did a search and it looks like most people ad the return address at the end of that line, so I tried that. All it did was publish my return email addy in the body of the email.
Thanks.