i'm using phpmailer for sending email with my gmail account.
sometimes i'm getting the error could not authenticate.
is there a solution for it?
__________________ Please login or register to view this content. Registration is FREE
Check out the Facebook Clone build with Jcow SNS at Please login or register to view this content. Registration is FREE , it is free and it always will be
__________________ Please login or register to view this content. Registration is FREE
Check out the Facebook Clone build with Jcow SNS at Please login or register to view this content. Registration is FREE , it is free and it always will be
from a hosted site. from the local computer untill now no problems.
and that is the error code i get.
__________________ Please login or register to view this content. Registration is FREE
Check out the Facebook Clone build with Jcow SNS at Please login or register to view this content. Registration is FREE , it is free and it always will be
Several things can cause "SMTP Error: Could not authenticate" - it usually comes with more info. Does it sometimes work and sometimes not if you send repeatedly to the same recipient? Are you checking correctness of recipient? Can you note the date/time it next fails and ask your host what the mail server log says for whoever you're sending to. Given it's intermittent I'd look at the variables - which is recipient or mail server itself - eg if it's busy at certain times.
Several things can cause "SMTP Error: Could not authenticate" - it usually comes with more info. Does it sometimes work and sometimes not if you send repeatedly to the same recipient? Are you checking correctness of recipient? Can you note the date/time it next fails and ask your host what the mail server log says for whoever you're sending to. Given it's intermittent I'd look at the variables - which is recipient or mail server itself - eg if it's busy at certain times.
let's say the mail server is busy. What can you do about it to eliminate this kind of errors.
__________________ Please login or register to view this content. Registration is FREE
Check out the Facebook Clone build with Jcow SNS at Please login or register to view this content. Registration is FREE , it is free and it always will be
Messages should usually be queued even if the mail server is busy. What I should have said was "if the machine that the mail server runs on " -- ie if it's competing for scarce resources. Have a word with your hosting company if it's happening too frequently (though it sounds like it is already if you've noticed in testing one script).
it seems you are sending too many emails in a speedy way thats the reason you are getting errors
same thing happened to me when i try to send out too many