SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist kashaziz's Avatar
    Join Date
    Feb 2001
    Location
    PK
    Posts
    460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error while sending bulk emails from CF

    I am using a list of email addresses stored in an Access database and trying to email them an attachment of 27K using the CFMAIL tag but it delivers mail to only 2-3 addresses then gives the following error:

    Error Occurred While Processing Request
    Error Diagnostic Information
    unknown exception condition

    TagCFMail::sendMessage

    The error occurred while processing an element with a general identifier of (CFMAIL), occupying document position (10:1) to (10:91).


    Date/Time: 06/14/01 20:01:21
    Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
    Remote Address: 127.0.0.1



    i am using PWS and the SMTP is post.demon.co.uk

    desparate for help

    kashaziz@yahoo.com

  2. #2
    SitePoint Member
    Join Date
    Dec 1999
    Location
    Arcata, Ca
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why don't you post the code that you are using?
    Are you using the cfmail with a cfloop over a query?

    What version of cold fusion are you using?

    Cold Fusion 4.0 has some problems related to cfmail/cfpop.

    -Pablo Rotter

  3. #3
    SitePoint Evangelist kashaziz's Avatar
    Join Date
    Feb 2001
    Location
    PK
    Posts
    460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is the code:

    <cfquery name="getemail" datasource=#application.db#>
    select * from test order by ID
    </cfquery>

    <cfmail query="getemail" to="#emailadd#" from="kash_aziz1@hotmail.com" subject="testing" >
    Hi,

    this is testing


    </cfmail>



    It sends 2-3 mails then generates error - Initially i was attaching a document but then tried without the attachment as well.

    I am using CF 4.5.1 (studio and server)

  4. #4
    SitePoint Member
    Join Date
    Jun 2001
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using a CFLOOP and loop from 1 to recordcount.

    EXAMPLE:

    <CFQUERY></CFQUERY>

    <cfloop from="1" to="QUERY.RecordCount">
    <cfmail></cfmail>
    </cfloop>
    Bryan F. Hogan
    Director of Internet Development
    HungryWeb Communications, Inc.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •