Occasional messages failing to send, but OK on repeat. Ideas? #2848
Unanswered
colinb1950
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
There are several things wrong here that won't help. You're using a very old version of PHPMailer that's no longer supported, and you've based your code on a similarly old example. The "language string failed to load" issue was fixed many years ago. It's likely that you're running into a send limit on your mail server; that would cause a "data not accepted" error. You're setting some standard headers in I suggest you update to the latest version, and start again basing your code on the mailing list example provided. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have written a web application to manage my club membership and have added a function to send our renewal reminder emails. With less than 50 members I have a simple loop to send out mails one by one rather than as a bulk send. The message is boilerplate text with 2 data fields embedded in it for each menu.
When I run it it goes fine for maybe 10 or so (number varies), and then I get a message 'Language string failed to load: data_not_accepted'. But when I run the program again, that message gets sent without any issues.
Any ideas why a simple text message would generate an error, but run OK the next time?
Heres my code
Beta Was this translation helpful? Give feedback.
All reactions