IIS and SMTP - CDO 8004020f Error

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > April 2005 > CDO 8004020f Error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CDO 8004020f Error
Penrod

2005-04-06, 5:57 pm

I have a block of CDO code that I use all of the time to send e-mails and it
works fine. I am trying to send to a fax number instead of an e-mail address
for my first time and having problems.

We use GFI Fax Maker for faxing and can fax via the Exchange server.

The syntax to send a fax is: [fax:8165551234]

So I am using this syntax:
..To = "[fax:" & faxnumber & "]"

I get the error 8004020f

If I change that line to something like:
..To = "me@mydomain.com"

It works fine.

I did a Response.Write("[fax:" & faxnumber & "]")
and it is displaying the correct information: [fax:8165551234]
wasonce

2005-04-14, 5:59 pm

Penrod,

The [FAX:] is a MAPI and smtp will not except this format. Change your TO:
string to use
"<"IMCEAFAX-8165551234@mydomain.com">. You can refer to KB323351 below.

http://support.microsoft.com/defaul...kb;en-us;323351


"Penrod" <Penrod@discussions.microsoft.com> wrote in message
news:6119E4E9-9A20-409C-B54A-ECCC3ACE39CF@microsoft.com...
>I have a block of CDO code that I use all of the time to send e-mails and
>it
> works fine. I am trying to send to a fax number instead of an e-mail
> address
> for my first time and having problems.
>
> We use GFI Fax Maker for faxing and can fax via the Exchange server.
>
> The syntax to send a fax is: [fax:8165551234]
>
> So I am using this syntax:
> .To = "[fax:" & faxnumber & "]"
>
> I get the error 8004020f
>
> If I change that line to something like:
> .To = "me@mydomain.com"
>
> It works fine.
>
> I did a Response.Write("[fax:" & faxnumber & "]")
> and it is displaying the correct information: [fax:8165551234]



Penrod

2005-04-14, 5:59 pm

Awsome, that worked. I was hoping it was that simple.

"wasonce" wrote:

> Penrod,
>
> The [FAX:] is a MAPI and smtp will not except this format. Change your TO:
> string to use
> "<"IMCEAFAX-8165551234@mydomain.com">. You can refer to KB323351 below.
>
> http://support.microsoft.com/defaul...kb;en-us;323351
>
>
> "Penrod" <Penrod@discussions.microsoft.com> wrote in message
> news:6119E4E9-9A20-409C-B54A-ECCC3ACE39CF@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com