?
Solved

CDO 8004020f Error

Posted on 2005-04-06
6
Medium Priority
?
390 Views
Last Modified: 2010-05-18
I have a block of CDO code that I use all of the time to send e-mails and it works fine.

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]
0
Comment
Question by:lpenrod
  • 3
  • 3
6 Comments
 
LVL 3

Author Comment

by:lpenrod
ID: 13717815
I meant to say that we use the block of code to send to e-mail addresses.  This is the first time I have tried to use it to send to a fax address.
0
 
LVL 12

Expert Comment

by:fruhj
ID: 13718264
I think CDO by default uses your SMTP server on your local Machine, which you probably have setup to forward SMTP to the exchange server.
SMTP wouldn't have any way of knowing about the faxing capabilities of exchange.
You probably need to play around a bit and see if you can interface with the exchange server directly.
0
 
LVL 3

Author Comment

by:lpenrod
ID: 13718307
One of the fields is:
Flds(cdoSMTPServer)       = "smtp.beap.com"

I assume that is the SMTP server that is being used to send the mail.

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 12

Accepted Solution

by:
fruhj earned 1000 total points
ID: 13718643
yeah, and SMTP doesn't know about the faxing extension you have in exchange - just how to send mail...
Lookup in your GFI fax software - they might have a way to associate a mailbox for faxing
Ie sendto = "outboundfax@beap.com"
   subject = "FAX:816555.1234"
   body = ...

then if GFI can link to that mailbox on exchange, it might be able to pick up those messages and act on them.
Just a thought...
0
 
LVL 12

Expert Comment

by:fruhj
ID: 13937464
Thanks Lpenrod!
- Jack
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question