Gfa_SendMail Command

Purpose

Simulates the selection of Send by e-mail... in the Files/Export Menu.

Syntax

Gfa_SendMail

Description

By default, Gfa_SendMail sends the whole program listing in the IDE by email using the default email program on your PC; to restrict output, use the Gfa_Sell??? commands to select the required portion of the program listing first and then only this selected text will be attached to the email.

Example

// Send selected program listing by e-mail by pressing F2

 

Sub Gfa_F2

Gfa_SendMail

EndSub

Known Issues

Gfa_SendMail uses the Extended MAPI library; since Windows Vista, fewer and fewer email applications support this format - at the time of writing (2021), neither Windows 10 Mail nor Mozilla Thunderbird do - so this command is likely to fail on an increasing number of computers.

{Created by James Gaite; Last updated: 06/06/2021 by James Gaite}