| Home | All functions | Legacy functions | Categories |
Prototype: vuMailToA(*CSTRING InTo, *CSTRING InCC, *CSTRING InBCC, *CSTRING InSubject, *CSTRING InBody, *CSTRING InAttachment), LONG, PROC, PASCAL, RAW, NAME(‘vuMailToA’)
Builds a mailto: URI (including an attach= parameter) and asks Windows Shell to open it with the default mail client.
toAddr CSTRING(256)
ccAddr CSTRING(256)
bccAddr CSTRING(256)
subj CSTRING(256)
body CSTRING(512)
attach CSTRING(260)
rc LONG
toAddr = 'user@example.com'
ccAddr = ''
bccAddr = ''
subj = 'Test with attachment hint'
body = 'Please see attached file.'
attach = 'C:\Temp\report.pdf'
rc = vuMailToA(toAddr, ccAddr, bccAddr, subj, body, attach)
IF rc <= 32
MESSAGE('vuMailToA failed/was rejected by shell. rc=' & rc & ' err=' & vuMailLastError())
END
| Home | All functions | Legacy functions | Categories |