Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vfp to outlook

Status
Not open for further replies.

kitnba

MIS
Jul 31, 2000
132
0
0
HK
I have write a coding for sending email within outlook 2000.

myOlApp = CreateObject("Outlook.Application")
myItem = myOlApp.CreateItem(0)
myRecipient =myItem.Recipients.Add("kit@manchu.com.hk")

I using the following code.
How can I set my email is using Plain Text format, now my program is using Rich Text.

anyone can help me?
 
kitnba

oOutLookObject = CreateObject("Outlook.Application")
oEmailItem = oOutLookObject.CreateItem(0)

WITH oEmailItem
.Recipients.Add("moe@3stooges.com")
.Subject = "Automation sample"
.Importance = IMPORTANCENORMAL
.Body = "This is easy!"
.BodyFormat = 1 && Plain Text
.Send
ENDWITH

RELEASE oEmailItem
RELEASE oOutLookObject


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top