Page 1 of 1
phpmailer error
Posted: Mon May 02, 2005 10:33 am
by bluesman333
using phpmailer class and am getting the following error:
Mailer Error: Language string failed to load: recipients_failed...
I have site domain.com. When i send to
anyuser@domain.com, I don't get the error. But, if i send anywhere else, I get the error.
Posted: Mon May 02, 2005 12:57 pm
by shiznatix
why not just use the mail() function?
Posted: Mon May 02, 2005 1:15 pm
by Roja
shiznatix wrote:why not just use the mail() function?
Phpmailer offers more than a few improvements over raw mail().. smtp auth, multiple smtp servers, queued sending, servers that dont support mail, raw smtp send..
It's a long list, check out the project sometime.. I use it in many of my projects.
As to the original question, the error indicates that you dont have the language files for phpmailer to translate the error message for you.
The error message is that the recipients failed. You'll need to use the smtp error methods in phpmailer to look at the full failure message to see why.
but...
Posted: Mon May 02, 2005 8:09 pm
by bluesman333
does that explain why it will work for local emails?
Re: but...
Posted: Mon May 02, 2005 8:37 pm
by Roja
bluesman333 wrote:does that explain why it will work for local emails?
Most likely, you are getting an smtp failure for some reason: Possibly because sendmail isnt configured to send to remote sites.
You need the full error message (using the error message method) to figure it out further.