close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Not all recipients receive the email

Thread began 5/06/2022 2:36 am by Michel | Last modified 5/09/2022 9:13 am by Michel | 129 views | 2 replies


Not all recipients receive the email

I use universal email to send emails from our intranet to my colleagues from a number of different applications. Almost every script sends some pdf document of excel list generated by some other php class.
Some scripts are executed by cronjobs, some scripts are executed by the user.
The mails are processed using the smtp method and the host is (our ISP gives us this host address)
Now the issue, the script below is an example of a script that is executed by cronjob. Every Monday morning at 09:00 this script send an email to a few colleagues. The problem, not all will receive the email. If I manually execute the cronjob at a different time, they all receive the email.
I checked my cronjob list and noticed at 09:00 in the morning more tasks are executed at the same time. I am almost sure the issue is because several tasks are run at the same time. Now I have changed the execution time of the cronjobs, so no script will run at he same time (if it is executed by the cronjob)
Still, I have no influence when a user is executing an email script manually using the intranet browser. And when this happens, the issue occurs too. Not always the email is received by the user.
As I look at my server workload in never peaks of something like that.
I do see in the email error log SMTP connect() failed. It is so strange some do receive the email, and some do not.
My question, is there a way to be sure the email is send? Or is there another solution for this issue?

Thank in advance.



if (true) { //WA Universal Email
$Email = new WA_Email("mail_2");
$Email->From = "";
$Email->CharSet = "UTF-8";
$Email->Method = "smtp";
$Email->Host = "";
$Email->Port = "587";
$Email->SMTPAuth = false;
$Email->BodyFile = "../webassist/email/templates/WebAssist-Block/references.php";
if (function_exists("rel2abs") && $Email->Redirect) $Email->Redirect = $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
for ($emailGroup=0; $emailGroup<sizeof($Email->To); $emailGroup++) {
$Email->Subject = "Reminder";

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...