Rogue email address stopping sending with wp_mail
-
Bleary-eyed from trying to figure this out.
I’m writing a plugin which both restricts access to posts based on user level and has an option to email posts to users.
The second part has me at a loss.
The emails are sent in batches with users addresses in BCC.
I think i’ve narrowed the issue down to if just ONE of the addresses doesn’t exist then none of the emails in that batch will be sent. note, this is “does not exist” i.e. i just made up a dummy address for testing, as opposed to not valid as in something which is not an email address. Addresses in other “clean” batches without the rogue address go out just fine. I believe my formatting of headers etc is fine.
after much searching i’ve not found anything on the interwires which matches this problem.
I’ve tried using @wp_mail(), wp_mail() and just good old mail().
Nothing can be found in the error log, wp_mail just returns FALSE.
I’m hoping someone here with a better understanding of the vagaries of SMTP and such will have a clue.
Using a test install of wordpress 3.1 on
Linux
Apache 2.2.17
php 5.2.16
MySQL 5.1.47
Thanks for the clear eyes.
- The topic ‘Rogue email address stopping sending with wp_mail’ is closed to new replies.