Hello all,
Having a bit of trouble figuring out how to get my online form to send properly.
Moved an entire website to a new webserver.
The old server had SMTP running on it with No Authentication required to send mail.
The new server is not running SMTP, so I need to be able to point to the mail server on the network and login (it requires authentication) to sen mail.
Here is what I have and where I am stuck in the code...
ini_set('SMTP', 'smtp.server.com');
ini_set('smtp_port', '25');
ini_set('username', user@domain.com');
ini_set('password', 'userpassword');
Thanks!
Authenticating SMTP email when processing form
Moderator: General Moderators
Re: Authenticating SMTP email when processing form
Have you considered using SwiftMailer or PEAR's Mail package?
Re: Authenticating SMTP email when processing form
No. I honestly have no experience using either and did not want to re-invent the wheel on this form.