947740 Posted May 8, 2008 Share Posted May 8, 2008 Would someone mind telling me exactly what I have to do to allow a server to send email through PHP scripts? I know you have to at least edit the SMTP settings, but I am not sure what else you have to do. Quote Link to comment https://forums.phpfreaks.com/topic/104712-smtp-in-phpini/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 8, 2008 Share Posted May 8, 2008 The SMTP and smtp_port must point to a valid public email server (unless you only want to send email locally/to yourself, in which case you can install a mail server that is not publicly connected to the Internet.) If you are trying to send though an external mail server, then you will need to use SMTP authentication against a mail box on that mail server. The php mail() function does not support SMTP authentication, so you would need to use something like the phpmailer class that open a socket connection directly with the mail server. If you describe more fully what you are trying to do, someone can provide more specific information. Quote Link to comment https://forums.phpfreaks.com/topic/104712-smtp-in-phpini/#findComment-535953 Share on other sites More sharing options...
947740 Posted May 8, 2008 Author Share Posted May 8, 2008 I want to build a php file that will send out an email with information to all of the subscribed users when an event happens, in this case the result of a baseball game. I just need to know how to set up the server so it will send emails. Thanks PFMaBiSmAd Quote Link to comment https://forums.phpfreaks.com/topic/104712-smtp-in-phpini/#findComment-536001 Share on other sites More sharing options...
reg_any235 Posted May 28, 2008 Share Posted May 28, 2008 I need an inbox php mailer,please send it to my email address reg_any235@yahoo.com. Quote Link to comment https://forums.phpfreaks.com/topic/104712-smtp-in-phpini/#findComment-551356 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.