Forums
This topic is locked
Problem RE mass CDONTS mailing
Posted 30 Apr 2002 11:48:47
1
has voted
30 Apr 2002 11:48:47 Hank Tan-Tenn posted:
Hi,<img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle>I'd like to ask if anyone has ever experienced the problem of apparently unreceived, perhaps unsent mail via CDONTS?
I did this months ago by looping through a recordset of email addresses, etc. Each instance of CDONTS was also set to Bcc a copy to me. I received all the copies, but some recipients (perhaps 10%) said they had not. The addresses were all valid.
Unfortunately I had also not properly set the sender's address, so any bounced or notification mail that I might have received was not available to me for analysis.
(I can post the code if anyone thinks that might be the problem, though it's a fairly run-of-the-mill CDONTS function.)
Thanks.
Replies
Replied 30 Apr 2002 18:09:57
30 Apr 2002 18:09:57 johannes nel replied:
there should be no reason why they did not recieve it. have u checked in inetpub\mailroot\badmail\ (on 2000 srv)
otherwise smtp offers no verification device for delivary confirmation...
can try using outlook obj but those are activex controls and don't like iis 2 much...
otherwise smtp offers no verification device for delivary confirmation...
can try using outlook obj but those are activex controls and don't like iis 2 much...
Replied 09 May 2002 12:40:19
09 May 2002 12:40:19 David Behan replied:
Throw up the code so I can have a look. I'll compare to my own that works grand as far as I know.
Regards
_________________________
David Behan - www.bmor.com
Regards
_________________________
David Behan - www.bmor.com
Replied 10 May 2002 00:33:41
10 May 2002 00:33:41 Andrew Watson replied:
Aye AKC ive experienced a few strange missing mails using CDONTS.
I was using it for a one off job that involved sending 1000 mails to the same address. It simply looped a recordset of addresses and sent them. Some went missing never to be seen again........I dont know what caused it and testing is tricky so ill just live woth it....it works great for regular mail use.
Cheers
Leed
:: Son, im Thirty.... ::
I was using it for a one off job that involved sending 1000 mails to the same address. It simply looped a recordset of addresses and sent them. Some went missing never to be seen again........I dont know what caused it and testing is tricky so ill just live woth it....it works great for regular mail use.
Cheers
Leed
:: Son, im Thirty.... ::
Replied 10 May 2002 03:07:42
10 May 2002 03:07:42 Hank Tan-Tenn replied:
hangalot2:
Unfortunately (or fortunately) I don't run my own IIS, so can't check that folder.
beano:
I'll see if I can cough up the code -- after my exams are over.
leed:
In "ordinary" usage I've had no problem either.
My feeling is this is gonna remain a mystery for me. We'll see what beano says later. Thanks to you all.
Unfortunately (or fortunately) I don't run my own IIS, so can't check that folder.
beano:
I'll see if I can cough up the code -- after my exams are over.
leed:
In "ordinary" usage I've had no problem either.
My feeling is this is gonna remain a mystery for me. We'll see what beano says later. Thanks to you all.
Replied 10 May 2002 12:53:50
10 May 2002 12:53:50 Andrew Watson replied:
THere are entries in my BADMAiL folder, but the question is why are they bad mail, they are of the same format as ''Good Mail'', identical in fact! and they all (good and bad) go to the same address, there is no scope for a bad address etc. so this cant help much i dont think....
Also i dont think it will be a code problem but well see........
:: Son, im Thirty.... ::
Also i dont think it will be a code problem but well see........
:: Son, im Thirty.... ::
Replied 31 May 2002 17:55:17
31 May 2002 17:55:17 David Behan replied:
Leed mate,
I came across a similar problem and was able to fix it. I am testing a new solution to it now as well.
We were doing test emails to a hotmail address. We had set the objCDO.From to "Our Website Name" and not an email address. Hotmail refused the emails on the basis that they were not from an actual email address. It worked with other email accounts and web based ones to so it seemed to depend on the individual accounts. We set the from to an actual email address and it worked ok... not a problem.
I am trying a little script that will specify the email address and a name in the same line.
I'll throw it up if it works.
Regards,
Dave
_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
I came across a similar problem and was able to fix it. I am testing a new solution to it now as well.
We were doing test emails to a hotmail address. We had set the objCDO.From to "Our Website Name" and not an email address. Hotmail refused the emails on the basis that they were not from an actual email address. It worked with other email accounts and web based ones to so it seemed to depend on the individual accounts. We set the from to an actual email address and it worked ok... not a problem.
I am trying a little script that will specify the email address and a name in the same line.
I'll throw it up if it works.
Regards,
Dave
_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
Replied 31 May 2002 18:08:52
31 May 2002 18:08:52 David Behan replied:
Here is a snipet that works. It hides the email from with the name you want and also actually comes from an email address. Hotmail accepts so...
Set objCDO = Server.CreateObject("CDONTS.NewMail"
objCDO.To = " "
objCDO.From = """Sender Name"" < >"
objCDO.Subject = "The Subject"
objCDO.Body = "This is the body"
objCDO.Send
Set objCDO = Nothing
That might help or might not but you never know.
Regards
_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
Edited by - beano on 31 May 2002 18:09:58
Set objCDO = Server.CreateObject("CDONTS.NewMail"
objCDO.To = " "
objCDO.From = """Sender Name"" < >"
objCDO.Subject = "The Subject"
objCDO.Body = "This is the body"
objCDO.Send
Set objCDO = Nothing
That might help or might not but you never know.
Regards
_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
Edited by - beano on 31 May 2002 18:09:58