CDONTS, ASP Mailing HTML emails etc? can someone advise

Hi, this is really just a common question, that would benefit my understanding.

I have created a HTML bulk mailer using the component CDONTS. I do have a few issues with it, in terms of waiting. I am having to wait ages in order to finally recieve the HTML email.

Dont get me wrong I do end up getting the email, that has been sent to mulitple accounts but it just takes a long time. And especially when I need an immediate response in order to test and process the work, I cannot afford for such a slow wait.

A second question would be that this works great externally, i.e other email accounts, but for some reason the mac users in the office dont seem to get the email. And when they do if they do it crashes or just displays a white blank page.

Can anyone provide me with a little extra knowledge in this area please.

It would help me loads

Thanks

Trev

There’s not a whole lot you can do with SMTP to optimize it. A couple things that may help you out:

Use a smart host to relay your mail, turn off logging or break up the email into seperate messages.

The first and last items will most likely give you the most gains. Unfortunately not many peeps have a smart host to relay email for them so I’ll concentrate on the last item.

Lets say you have 1000 addressees in your message. What will happen is that the web server will open up a connection and start sending the email, performing DNS lookups and all that other good jazz. You can limit the amount of time and I believe hops before it times out and moves on to the next addressee. This will get you some speed.

But this email is sitting there processing the email on one connection. If you break up the email into several and twiddle the SMTP settings so that it opens another connection in the message queue then it will be sending concurrently based on how many emails the webserver dishes out. Set it for too many connections and you start loosing speed in maintaining those connections as well so its a fine line to find the best mix.

Thats about all I can think of aside of the obvious stuff like upgrading hardware and bandwidth.

Thanks for your reply. Ok I am a little confused in areas, but kind of get the idea.
Yes that would make sense, the more emails the longer it would take to process.

What I did was place the html file inside the directory, where images etc are linked via the url address.

I had thought that maybe the server in work mearly checks the email every 15 mins, and if that is what it is then I must sort it out. I am guessing this may be a possiblitiy, so I could contact the network chaps to sort that out if possible.

Do you have any idea as to why this may not work on the mac systems Snipe???

cheers for some input

Sorry, I have no experience with Macs.

I’ll bet you’ll find though that them not receiving the emails is what is bogging the system down. You may want to check the badmail folder to see what is getting kicked back due to an error.

What client are you using on the Macs? Is it capable/have options on to read HTML emails?

Don’t know if it’s any use but when I get stuck with CDonts I close my eyes, click my heels together 3 times and use the link below.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/denali_newmail_object_cdonts_library.asp

Hope it’s some help.