close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

sending multiple emails fails at 10 recipients

Thread began 3/21/2021 7:30 am by Sweens | Last modified 3/23/2021 3:35 pm by Ray Borduin | 813 views | 8 replies |

Sweens

sending multiple emails fails at 10 recipients

I have several form which send email to multiple recipients. However, I've had the following feedback from a user:
-----------------------------------------
I created a load of test users (to avoid annoying real users any more) and sent out several messages. Everything seem to work as long as there are no more than 9 recipients, so 10 or more recipients seem to cause things to fall over. That figure of 10 may well be significant!
-----------------------------------------

Is there something I can change to rectify this?

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

I'd have to look. Maybe there is something wrong with the 10th entry, or possibly this is a limit your hosting provider has that won't allow you to send 10 emails in less than a certain time frame. If you attached the page then I could confirm there is nothing wrong with it, but more likely it is an issue with the hosting setting a limit.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Thanks Ray

File attached.

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

It looks like this page sends only 1 email at a time. So they filled it out 10 times and it failed on the 10th? That isn't an issue with the page. You might talk to the hosting provider to see if they have any limits.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

There is a limit of 100 emails at a time, so it shouldn't be a problem. I've tested it myself, and 9 emails go fine - but as soon as I add the 10th and send an email, the logs say 'Could not instantiate mail function'.

Also,

I'm trying to get the return path to be

$Email->ReturnPath = "".$rsUser->getColumnVal("UserEmail") ."";

But that always results in failure ('Could not instantiate mail function' in the logs)

I've tried all the variants I can think of, without success - it only works if there is an actual email address entered in the appropriate place, e.g. bounce@mail.com.

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

ReturnPath is what shows when the email fails to send. IT should be set to an actual email address like: bounce@mail.com.

Setting the return path to the value from the To address makes no sense, since the email is sent to the return path when the To address is invalid.

This just informs you when an email is not valid so you can remove it from your list. You can probably just remove that line entirely.

That might actually be the cause of the issue you are having.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

Have tried various settings; currently

$Email->Redirect = "sitehome.php?message=sent";
$Email->From = "Site <no-reply@site.com>";
$Email->ReplyTo = "no-reply@site.com";
$Email->ReturnPath = "bounce@site.com";
$Email->BurstSize = "100";
$Email->BurstTime = "1";
$Email->WaitTime = "1";
$Email->CharSet = "UTF-8";
$Email->addTo("".$rsUser->getColumnVal('UserEmail') ."");
$Email->addBCC("".((isset($_POST["toEmail"]))?implode(", ",$_POST["toEmail"]):"") ."");

Still it is not getting mail if more than 9 recipients, but under 9 is OK, so long as I don't have
$Email->ReturnPath = "".$rsUser->getColumnVal("UserEmail") .""; which results in the 'Could not instantiate mail function' error log.

I'm quite befuddled by it, as it works fine on another site with the same host! Might some of the other changes we've made on the site recently have caused this email issue?

I think I may need one of your premium support sessions!

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

I can try debugging in a premier support ticket. But it really appears to be a limit from your hosting provider.

Change your burst size to 1... If it is an "emails per second" issue that might solve it. If not, I can try to help in a premier support ticket.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

I think a support session would help - contrary to what I said earlier, I've discovered exactly the same issue on the other site - nobody's reported it!

pm

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...