I have run the following code and itâ??s fine for Outlook Express. But for
Outlook, the senderâ??s email address is missing. How to put it
programmatically? TIA.

SessisonObject..SignOn()
SessisonObject.NewSession=.T.

MessageObject.SessionID= SessisonObject .SessionID
MessageObject.Compose
MessageObject.MsgSubject=â??Testâ??
MessageObject.RecipDisplayName=â??Visual FoxProâ??
MessageObject.RecipAddress=â??vfp@microsoft.comâ??
MessageObject. MsgNoteText=â??Helloâ??
MessageObject.Send()

SessisonObject..SignOff()

Re: Sender's Email Address is Missing by David

David
Thu Mar 24 08:11:26 CST 2005

William,

Check the example on my website under Q&A, General, Article qgen015

--
df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro

"William" <William@discussions.microsoft.com> wrote in message
news:F872EF9E-9AE5-4548-9E30-923C38D504B0@microsoft.com...
>I have run the following code and it's fine for Outlook Express. But for
> Outlook, the sender's email address is missing. How to put it
> programmatically? TIA.
>
> SessisonObject..SignOn()
> SessisonObject.NewSession=.T.
>
> MessageObject.SessionID= SessisonObject .SessionID
> MessageObject.Compose
> MessageObject.MsgSubject="Test"
> MessageObject.RecipDisplayName="Visual FoxPro"
> MessageObject.RecipAddress="vfp@microsoft.com"
> MessageObject. MsgNoteText="Hello"
> MessageObject.Send()
>
> SessisonObject..SignOff()
>
>



Re: Sender's Email Address is Missing by William

William
Thu Mar 31 01:11:04 CST 2005

David,
I checked your web site and found for Outlook, I have to set
MessageObject.RecipDisplayName to the email address rather than the name.
That's very strange.

"David Frankenbach" wrote:

> William,
>
> Check the example on my website under Q&A, General, Article qgen015
>
> --
> df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro
>
> "William" <William@discussions.microsoft.com> wrote in message
> news:F872EF9E-9AE5-4548-9E30-923C38D504B0@microsoft.com...
> >I have run the following code and it's fine for Outlook Express. But for
> > Outlook, the sender's email address is missing. How to put it
> > programmatically? TIA.
> >
> > SessisonObject..SignOn()
> > SessisonObject.NewSession=.T.
> >
> > MessageObject.SessionID= SessisonObject .SessionID
> > MessageObject.Compose
> > MessageObject.MsgSubject="Test"
> > MessageObject.RecipDisplayName="Visual FoxPro"
> > MessageObject.RecipAddress="vfp@microsoft.com"
> > MessageObject. MsgNoteText="Hello"
> > MessageObject.Send()
> >
> > SessisonObject..SignOff()
> >
> >
>
>
>