Groups | Blog | Home
all groups > iis smtp nntp > may 2005 >

iis smtp nntp : CDONTS strangeness


Stimp
5/17/2005 9:34:05 AM
I'm trying to send a mail using CDONTS with a .FROM email
address that doesn't exist (like bob@nowhere.com), but it won't send
the mail unless I put a valid .FROM email address (i.e. of an email
address that exists)

The mails I try to send on the Windows 2000 server are moved into the
mailroot/Badmail folder as spam.. so this would seem to be a built-in
spam prevention tool that CDONTS employs.

This would be fine, if it always worked, but sometimes perfectly correct
email addresses don't work either.

Is there any way to disable this spam-prevention so that I can send
emails no matter what the .FROM email address is?

Any info would be great!
--

"I hear ma train a comin'
Stimp
5/19/2005 9:21:59 AM
[quoted text, click to view]
^^^^^^^^^^^^^^^^^^^

so... if I use an email address that doesn't exist in the .FROM field
(like: testme@bananas.com) this won't work because it isn't correctly
addressed?

Btw, I've moved from CDONTS to CDO, but still have the same problem
--

"I hear ma train a comin'
jeff.nospam NO[at]SPAM zina.com
5/19/2005 10:52:24 AM
[quoted text, click to view]

There is no SPAM function in SMTP. Badmail is where mail that isn't
correctly addressed or formatted gets dropped. Check the logs to see
what may be going on, look at the .BDR file for reasons, and see:

http://www.aspfaq.com/show.asp?id=2254
http://www.aspfaq.com/show.asp?id=2268

Then stop using CDONTS and use CDO instead.

Jason Brown [MSFT]
5/19/2005 4:17:12 PM
could it be an upstream SMTP server at your ISP rejecting the communication?
there's no documented behaviour for this in CDONTS, but I could picture this
happening at the SMTP level. I myself, for instance, have a server upstream
from me which enforces quotas on the amount of mail I can pass through,
meaning mailouts must be done in stages. Don't see why this couldn't also do
a check on the from: address.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

jeff.nospam NO[at]SPAM zina.com
5/20/2005 12:00:00 AM
[quoted text, click to view]

It might not. Especially if the domain doesn't exist. Have you
checked the BDR files to see why it dodn't work?

Stimp
5/20/2005 3:24:13 AM
[quoted text, click to view]

The problem was that any FROM address (even fictional ones) that didn't
include the domain name that I was sending it from wouldn't send.

I've created a workaround by setting the 'Reply-To' address to the
'foreign domain' email, but still keep the FROM address as my domain
email.

Thanks for the help and introducing me to CDO :)

--

"I hear ma train a comin'
AddThis Social Bookmark Button