Hello,
I performed several tests locally and in many cases was occurring authentication error.
I did some searching and found that Yahoo has changed its default mode for email security.
All data is being encrypted because of problems with the NSA spying.
The question I need to know from you is, what is your email provider are you using?
I also performed some tests with the provider of my personal domain, everything is working normally.
So, I ask that you check the security settings available in the macro sc_send_mail. Check the port used and are using SSL.
example (no SSL):
$smtp = “smtp.mail.yahoo.com.br”;
$usr = “username”;
$pw = “password”;
$to = “user@yahoo.com.br”;
$from = “user@scriptcase.net”;
$subject = “Subject”;
$message = “You can put same text here …”.{message}.’.’;
sc_mail_send ($smtp, $usr, $pw, $to, $from, $subject, $message, ‘H’, ‘’, ‘’, ‘587’);
example (SSL):
$smtp = “smtp.mail.yahoo.com.br”;
$usr = “username”;
$pw = “password”;
$to = “user@yahoo.com.br”;
$from = “user@scriptcase.net”;
$subject = “Subject”;
$message = “You can put same text here …”.{message}.’.’;
sc_mail_send ($smtp, $usr, $pw, $to, $from, $subject, $message, ‘H’, ‘’, ‘’, ‘465’,‘S’);