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] "Stimp" <ren@spumco.com> wrote in message
news:slrnd8k79h.btf.ren@carbon.redbrick.dcu.ie...
> 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'
> ... hear freedom comin"