I have set my SMTP Server and Email address as follows
setpref('Internet','SMTP_Server','myserver.com');setpref('Internet','E_mail','me@aserver.com');
However, when I execute the SENDMAIL command
sendmail('me@hotmail.com','Test email', 'Test');
I receive the following error
??? Error using ==> sendmail>sendSMTP SMTP error: 550 5.7.1 Unable to relay for me@hotmail.com Error in ==> sendmail at 144 sendSMTP(out, in, ['RCPT TO: ' to], 1);
Best Answer