>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.comIt 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