jjk2 Posted January 9, 2010 Share Posted January 9, 2010 <?php $to = 'someone@gmail.com'; $from = 'me@here.com'; $message = 'blah blah blah'; $subject = 'yadda yadda yadda'; mail($to, $message, $subject, "From: $from", "-f$from"); I am on a dedicated linux machine. I have a named based virtual host setup on apache2. i have 2 domains running on the same ip. Anyway I can edit options or something ? this email problem needs to be solved as emails of important information like email verification login etc are sent out. Quote Link to comment Share on other sites More sharing options...
trq Posted January 9, 2010 Share Posted January 9, 2010 Are you using a valid from address belonging to the same domain the mail is being sent from? Quote Link to comment Share on other sites More sharing options...
jjk2 Posted January 9, 2010 Author Share Posted January 9, 2010 what is a valid ? well i have a gmail account setup on mysite.com i think this is causing this problem / Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.