Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSMapi control
Message
From
14/11/2001 05:32:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/11/2001 22:57:24
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00581298
Message ID:
00581384
Views:
17
>Using VFP7 and msmapi.mapisession.1 and msmapi.mapimessages.1 activex controls.
>
>I am following the sample application supplied with VFP7 that demostrates using these controls to send email. The examples work, however, the email message is shown and is asking for an email address before it sends the email.
>
>How do you specify an email address and how can I avoid see the mail message?
>
>I want to be able to push a button and have the email sent without any user intervention. What properties do I need to fill in to be able to do this?
>
>Here's part of what I have so far:
>
>
>this.parent.OleMMess.compose
>this.parent.OleMMess.msgnotetext="My message"
>this.parent.OleMMess.msgsubject = "My subject"
>this.parent.OleMMess.send(1)
>
>
>Thanks,
>
>Jerryt

Jerry,
Be sure to set recipients also (.RecipAddress) and Send(.F.).
If there are attachments be sure their paths are true.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform