View Full Version : Not sending email to more than 1 user
lesdekock317136
04-14-2009, 07:29 AM
I used the standard wizard to set up universal email.
I've run close on 30 tests now, and in each case the email appears to send to only one person. Either the end customer OR my client OR me, but always only one of us. I've checked my spam and the ISP says there is nothing on his side that should impact on a cc.
The email when it arrives says that the other two email addresses are cc'd.
Does anyone have any ideas.
I'm also having a real problem as soon as I don't use plain text but that's less of an urgent issue.
lesdekock317136
04-14-2009, 08:16 AM
And now its not working at all. I deleted the whole of universal email, and rebuilt everything, it sent one email, and then "broke" again.
Is this extension actually working for anyone? Has anyone ever set it up to work to send email to more than one person?
Ray Borduin
04-14-2009, 08:21 AM
It works all the time for lots of people. You would need to debug the issue. It is possible CC isn't working for some reason. What version of php are you using. I can see there is a bug in php on windows in version 4.0.4 that prevents CC from working. Does that describe your server?
lesdekock317136
04-14-2009, 05:34 PM
I only have the phpinfo information. Please let me know what other lines might be useful.
System: Windows NT REACTORA 5.2 build 3790
Microsoft-IIS/6.0
I've tried using the standard mail, as well as Pear. I've removed everything except a single email "to" (no workflow etc), and I can't get it to work at all any more. I deleted the Universal email, and the related folder and redid it. I've sent about 20 emails with different settings and to different email addresses - from gmail to the normal ones - they can't ALL be blocked by spam filters every time.
It was working with one email erratically earlier today. I'm actually going backwards!
So please, any ideas where I can start looking for the problem would be gratefully received.
lesdekock317136
04-15-2009, 12:46 AM
If there could be an issue with this mail server, could I use a mail server from one of my other websites to send the email?
Ray Borduin
04-15-2009, 07:30 AM
Usually they have permissions preventing that. What are you specifying in the smtp server field? Try leaving it blank and it will use the default smtp server for that php installation.
You can also add debug code to see if there is an error or if the code is functioning properly and the problem is with the smtp server.
In the file mail_PHP.php, add code below the line:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader );
so it becomes:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader );
var_dump($mailObj);
die();
This will tell you whether the php script thinks the email was sent properly. From there it may be a problem with the smtp server (although it returned no errors) or more likely a spam filter.
lesdekock317136
04-29-2009, 07:22 AM
I tried this and the returned page was bool(true).
I've redone the application on a different server with much the same result. The second insert record did send 2 emails, but since then I have received none. The Client is the first email address on the list, and that one is possibly going through, but none of the others has arrived. Two are direct email addresses, one is the email address from a field. I've tried changing the order in case one is failing. I'm still not entirely certain the client's email is going through, although I hope so.
I used this extension for another client, and when I got the test emails I assumed it was fine. However I'm now very worried that he hasn't been getting his emails either.
Ray Borduin
04-29-2009, 08:00 AM
Please try submitting a support incident and somebody can help you debug the problem.
If it says bool(true) it means that it sent the email to the email server and no errors were reported. This usually means the email went through and that the problem is with a spam filter.
There is actually an alternative which works very well. I mention it here because it is a dumbed down version of UE, but it has the advantage of being open to changes. I know that some of the other developers here are using it. It allows smtp with authentication to any mail server that you have an account on. As you may recall Ray, I was having issues with my ISP over authentication and this is the solution I found:
http://phpmailer.sourceforge.net/
Con:
No easy interface like UE has.
Requires at least some knowledge of PHP coding.
Pro:
Works with ANY email server anywhere you have an account.
Can be tweaked and customized if you know some PHP.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.