SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Thread: CDONTS Limit?

  1. #1
    SitePoint Enthusiast cjam4's Avatar
    Join Date
    Jul 2001
    Location
    NJ
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CDONTS Limit?

    I plan on using CDONTS to send emails through a script. However, there might be a time where I will have to send about 700 emails. Can CDONTS handle this? Will the performance be better is I send out the emails in bunches of 50 or a 100?

    Thanks
    Charles

  2. #2
    SitePoint Wizard big_al's Avatar
    Join Date
    May 2000
    Location
    Victoria, Australia
    Posts
    1,661
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CDONTS uses the NT SMPT services, so if it gets overwhelmed it will queue.

    Yes sending 50 at a time would be better.

    Also If your send ing that many you have to make sure yur script doesn;t time out
    .NET Code Monkey

  3. #3
    SitePoint Guru Husain's Avatar
    Join Date
    Sep 2001
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I read in a book that it is better to use the BCC feature in CDONTS for bulk mail. Does it help?

  4. #4
    SitePoint Wizard silver trophy Jeremy W.'s Avatar
    Join Date
    Jun 2001
    Location
    Toronto, Canada
    Posts
    9,121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    BCC is simply so your email doesn't appear as junk mail as the senders aren't listed when the email is received.
    SVP Marketing, SoCast SRM
    Personal blog: Strategerize
    Twitter: @jeremywright

  5. #5
    SitePoint Guru Husain's Avatar
    Join Date
    Sep 2001
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    True, but does it make the execution of my code faster?

  6. #6
    SitePoint Wizard silver trophy Jeremy W.'s Avatar
    Join Date
    Jun 2001
    Location
    Toronto, Canada
    Posts
    9,121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not at all.

    The "slow" bit of your code is the sending, BCC still involves sending.
    SVP Marketing, SoCast SRM
    Personal blog: Strategerize
    Twitter: @jeremywright

  7. #7
    Say WHA?! goober's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Posts
    1,921
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Al has had the timeout problem before. He wrote some code that pauses the mail-sending process. I'm sure he'd be happy to share?
    Sean Killeen [LinkedIn] [Twitter] [Web]

    Warning: Reality.sys corrupted. Universe halted. Reboot? (Y/N)

  8. #8
    SitePoint Guru
    Join Date
    Dec 2000
    Location
    Karachi, Pakistan
    Posts
    913
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Al? would you like to share?? I am making a newsletter script and would definitely like it.

    Waiting for your reply.


    -Omair
    36Host.com - $36/year web hosting [affiliates earn 30%]
    * Affordable Small Business Web Hosting since 2003! *
    "500mb space, 10gb bandwith, 50 pop/ftp accounts, php,
    mysql, pre-installed php scripts, 24/7 support & more...."



  9. #9
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One to bear in mind is that with MS SMTP server the sys admin can set to max number of recipients for a connection. I think the default is 100 but some hosts may set it lower so that sites don't liberties and send out huge mailings, which would affect the server and thus all sites running on it.

    Doing as Al suggested would get around this but some hosts keep a close eye on the the number of mailings as they may be spam and they don't want to be accused of hosting spammers.


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
  •