SMTP from remote server
Hi I currently use an account on my main VPS as a central CMS where clients ect login and manage their CMS. Part of this system allows them to send emails but these emails are coming through as spam. When I try to login using PHP mail SMTP nothing happens so the emails have to be sent from the local SMTP server and recently these are now turning up as spam. Why can I not remote SMTP login to an account on server A from server B. I get no error logs but no emails are sent. What settings to do I need to allow on server B for emails to be sent via SMTP on server A.
As a bit of further info I am using the following:
$smtp =Mail::factory('smtp', array(
'host'=>'ssl://remotedomain',
'port'=>'465',
'auth'=>true,
'username'=>'remoteemail@remotedomain',
'password'=>'password'
));
Please sign in to leave a comment.
Comments
1 comment