Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI
Message
 
To
02/10/1998 11:08:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: MAPI
Miscellaneous
Thread ID:
00143281
Message ID:
00143429
Views:
18
>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.

Download Rick S's wwipstuff class lib from www.west-wind.com

It works great
Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform