close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal Email limits check

Thread began 11/19/2012 1:22 pm by iainmacdonald331081 | Last modified 11/21/2012 4:25 pm by Ray Borduin | 1013 views | 11 replies |

iainmacdonald331081

Universal Email limits check

I think this page should be OK, but the site owner has contacted me to say that the page just hangs when he tries to send out emails. Could someone have a quick look and let me know if it looks OK?

I've attached the page (minus the reference to the db connection).

I think as much as anything I'm not sure how it should work in practise, ie it obviously takes some time to process a few hundred records, but at what point should the user know that the emails have been sent?

Thanks.

Attached Files
emailCandidates.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the page will appear to hang until it has sent all of the emails. only when it finishes sending the emails will it direct to the success page.

if it is sending a few hundred emails, it will stay on the page till all of those few hundred have been sent.

Sign in to reply to this post

iainmacdonald331081

OK, although now I'm confused, as you seemed to say the opposite here:

showthread.php?t=28852

The site owner was falling foul of a 500 emails per hour limit. So does that mean to send 500 emails using appropriate limits in UE to keep under that limit the user gets stuck on the page sending the emails for an hour?

Sign in to reply to this post

Jason ByrnesWebAssist

What part of that thread am i saying the opposite?



when the form submits, it will send the emails.

While the emails are being sent, it will stay on the form page. when the emails are done sending, the form page will redirect to the success page. how long that redirect takes depends on how long it takes to complete sending the emails.

if the user would rather not view the page while the emails are sending, they can close the page, the process has been started on the server, so will continue until it is done, although since the page was closed, it wont open a success page.

Sign in to reply to this post

iainmacdonald331081

Sorry Jason, I misunderstood.

So the page needs to stay open to redirect to the success page, but not for the emails to be sent?

At the moment the success page includes a button to reset an Email field back from Yes to No. So if some of these mail shots are going to take a while it might be a plan to move that function to the start of the process rather than the end.

And also set the link to the page that sends the emails to open in a new window so that if it is closed the previous page is easily accessible.

Sign in to reply to this post

Jason ByrnesWebAssist

  So the page needs to stay open to redirect to the success page, but not for the emails to be sent?  



yes, that is correct.

Sign in to reply to this post

iainmacdonald331081

Just looking at getting the emailCandidates page to open in a new window. Because its in the PHP in the header, rather than a regular link, is this possible?

The line is:

$upd_EmailList->registerTrigger("END", "Trigger_Default_Redirect", 99, "emailCandidates.php");

Thanks.

Sign in to reply to this post

iainmacdonald331081

Hi Jason - sorry to be a pain, but could you have a quick look at that file please? The site owner is reporting that emails are still bouncing as they are exceeding the 500 per hour limit imposed by the host.

Thank you.

Sign in to reply to this post

iainmacdonald331081

Actually - before you look at anything, I think the issue might be to do with how many mail shots get sent.

For example, if a search returns 400 people and those emails get spread out at 8 emails per minute, and a second search is carried out straight afterwards, also returning 400 people, will that essentially mean that 16 emails are being sent per hour, or would the 800 emails still be spread out at a rate of 8 per minute?

Update on this - I've established from the hosting company that emails are being spaced out, so it looks like I just need to tweak the settings, and make sure the site owners know not to go mad and try to send out thousands of emails.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, that is correct, 2 instances of the script running at the same time would double the amount of emails being sent, 3 instances would triple it, etc...

Sign in to reply to this post
loading

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