Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Fax (via Outlook) - Attachment Cause Problem...
Message
De
12/04/2007 18:08:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Send Fax (via Outlook) - Attachment Cause Problem...
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01215302
Message ID:
01215302
Vues:
126
First, in Outlook, I did the following (to add Fax Mail Transport):
Tools/E-mail Accounts/Add a new e-mail account/Additional Server Types/Fax Mail Transport

Next, when I do the following directly in Outlook, it works. The mail is sent to fax server and I also receive a copy via email (like show below).

The problem is when I try to send the same thing programmatically using the following code:
oOutlook = CREATEOBJECT("outlook.application")
oOlItem = oOutlook.CreateItem(0)
oOlItem.To = "me@mycompany.com; [fax: 450 954-1234]"
oOlItem.Subject = "test # 245"  :-)
oOlItem.Attachments.Add("c:\fax-test\myfile.tif", "1")
oOlItem.Send
I receive the mail to my email address, but also a message from System Admin.
In French:
Microsoft Fax Transport n'a pas pu envoyer ce message au destinataire.
Impossible de restituer la totalité des pièces jointes.

In English (translation give me something like):
Microsoft Fax Transport failed to deliver the message to the
recipient. Not all attachments can be rendered.

What's wrong here?

P.S.: I found this link where someone got a similar problem.
http://www.pcreview.co.uk/forums/thread-1827395.php
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform