Share via


SendMail Buttons Foundation Class

Category Misc Buttons
Default Catalog Visual FoxPro Catalog\Foundation Classes\Buttons
Class _mailbtn
Base Class Container
Class Library _miscbtns.vcx
Parent Class _container
Sample ...\Samples\Solution\OLE\sendmail.scx

Remarks

This class, which uses the MAPI ActiveX Control, handles sending a mail message from a form. When dropped on a form, it can be used to send the current record directly to your mail application.

To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you drop the class on a form in a data environment, Visual FoxPro places a button on your form where it will access the current record of the active form. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods Description
logSession property Specifies whether login to mail was
successful.
Default: .F.
SignOn method Attempts to login to mail.
Syntax: SignOn( )
Return: none
Arguments: none
AddTabs method Internal to the class.

See Also

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes