Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mass Mail Error

Status
Not open for further replies.

FastJimmy

Programmer
Jun 15, 2000
23
US
Hi, I'm having a problem with a script that I wrote that sends out e-mails to everyone who has signed up for our mailing list. (About 20,000 people) The script works like this: An e-mail is written and stored into a database. E-mail is approved to be sent out. E-Mail is sent out. The sending out is where I'm getting the problem.

Everytime after we submit the e-mail to <cfmail>, the error: &quot;Attempt to load page has failed.&quot; has come up.

Here's my E-Mail Code:
<cfmail
query=&quot;getEMail&quot;
to=&quot;#email#&quot;
from=&quot;person@oursite.com&quot;
subject=&quot;#getMessage.mailSubject#&quot;
server=&quot;mail.oursite.com&quot; timeout=&quot;1800&quot;>
#getMessage.mailText#
</cfmail>

We get no errors when we send it out to small amount of people. Just everyone at once. Any help would be greatly appreciated.

Thanks!

Jimmy
 
If my memory server me correctly there is a limit to the number of emails that can be sent out at one time. what i tend to do is to send out single emails at a time using the following code:

<CFLOOP query=&quot;getEMail&quot;>
<cfmail to=&quot;#email#&quot;
from=&quot;person@oursite.com&quot;
subject=&quot;#getMessage.mailSubject#&quot;
server=&quot;mail.oursite.com&quot; timeout=&quot;1800&quot;>
#getMessage.mailText#
</cfmail>
</cfloop>

try that, i think that it might be due to the number of emails that are being sent.
 
Thanks! I'll try this out and let everyone know how it worked!

Jimmy
 
I tested this new code out and it gave me the exact same error. Anymore ideas anyone? Thanks!!

Jimmy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top