Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI
Message
From
02/10/1998 11:08:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
MAPI
Miscellaneous
Thread ID:
00143281
Message ID:
00143281
Views:
51
Hi,

Does anyone know if there is a way to change the sender name when using MAPI controls to send email?

I was able to define the recip display name but not the orig display name. This is my code:

with this.parent.OleMMess
.msgnotetext = lcMessageText
.msgsubject = "Auto Email Survey"
.RecipDisplayName = 'Rick Hawkins'
.RecipType = 1
.OleMMess.ResolveName()

.msgOrigDisplayName = 'HelpDesk CAD'
endwith

I got an error 'property is read-only' and 'invalid session' at the last line. Do I need to do something else to define the OrigDisplayName?

Any suggestions would be appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform