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.
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
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 log in to mail was successful. Default: .F. |
SignOn method |
Attempts to log in to mail.
Syntax:
Return: none Arguments: none |
AddTabs method |
Internal to the class. |