Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Mail Via Outlook - Revisited
Message
From
06/08/2001 10:22:11
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00533122
Message ID:
00540146
Views:
19
>You probably have this setting set to HTML, when other have it set to plain >text.

You know, I have come to that same conclusion. Even though I am not 100% convinced that it is the reason, I am going to have to assume it is. I can find no other reason for it. I will just leave it at that.

Thanks.





>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 ?
Previous
Reply
Map
View

Click here to load this message in the networking platform