Last updated: 27 Sep 2001
Using a macro, you can send email to a particular email address
OPEN mailto:username@domain.com
If the email address is in a database field, then use:
OPEN mailto:<<mytable.emailfield>>
If the email address is in a variable field, then use:
OPEN mailto:<<varfield>>
The following does the same thing using a script:
Sub CreateEMail
Dim lngRtn As Long
lngRtn = Shell("rundll32.exe url.dll,FileProtocolHandler mailto:" &
CurrentView.Body.emailfield.Text)
End Sub
Note that the mailto protocol also lets you insert the subject and a limited amount of text in the message body, but can't use it to send file attachments. Full details are in RFC2368 (search for this document on the web).