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.
phpmailer error
Moderator: General Moderators
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..shiznatix wrote:why not just use the mail() function?
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.
- bluesman333
- Forum Commoner
- Posts: 52
- Joined: Wed Dec 31, 2003 9:47 am
but...
does that explain why it will work for local emails?
Re: but...
Most likely, you are getting an smtp failure for some reason: Possibly because sendmail isnt configured to send to remote sites.bluesman333 wrote:does that explain why it will work for local emails?
You need the full error message (using the error message method) to figure it out further.