I need help sending out emails. First thing, can I use an external mail server such as yahoo or comcast to send out my emails? If so, how do I obtain the outgoing mail servers IP address to use in the php.ini file? Currently the SMTP in the php.ini file is set to "localhost".
I've downloaded Mailtraq, but have not installed it yet because I really do not need my own mail server. I am creating a complete e-commerce solution for my senior project. I'm doing it for a real client, however, for the sake of the project, I just need to show the senior project board and judges that we are able to send out emails.
Your help will be appreciated!
Oh one more question, if you dont have an email server, and try to send out mail with the mail() function, would php give you an error. Because I was trying to use the mail() function - without email server - and php kept giving me an error.
It said something like "sendmail_from not initialized in php.ini or custom "FROM" is not set." My code was something like this:
$to = "somewhere@aol.com";
$subject = "hello";
$headers = "From: [email]me@me.com[/email]\r\n";
$message = "testing";
mail($to,$subject,$message,$headers);