Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending Mail Via Outlook - Revisited
Message
 
 
À
20/07/2001 10:17:07
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00533122
Message ID:
00533800
Vues:
18
Hi!

I guess HTMLBody usage is not anough. Search if there are some other options for mail object in outlook, like the type of the email. The reason why it sent ok on your machine and is not ok on other machines is in the profile settings. There is a setting that specify which type of body to use by default for new mail. You probably have this setting set to HTML, when other have it set to plain text.

HTH.

>I have gone down this road before but as of yet am still unsuccessful. I am going to give it another try.
>
>I am able to send HTML mail (using HTMLbody property) via Outlook within our company network in a very simple manner. Let me explain ...
>
>I create a document with Microsoft Word and save it as an HTML document.
>
>Then in VFP I use the following code to send it ...
>
>release all like o*
>oApp = createObject("Outlook.Application")
>oMail = oApp.CreateItem(0)
>oMail.recipients.add("someone@somewhere.com")
>
>oMail.subject = "Mail Test"
>
>oMail.HTMLbody = filetostr("test.htm")
>oMail.send()
>inkey(3)
>release all like o*
>return
>
>It works like a charm.
>
>However, when I send the same message outside of our building ....
>It does not get delivered as HTML.
>
>Am I the only one experiencing this problem or is this a universal problem ?
>
>I have noticed that many of the emails I get from well recognized companies do not send HTML messages either. Is that because they too experience this difficulty. ??
>
>Any thoughts from experienced emailers ?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform