Sends e-mail messages with attached files.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
SendEmailExt | Asynchronous | Supported | Supported | Supported |
SendEMailExt( strSubject, strMessage, strTo, optStrCc, optStrBcc, optStrFile1, … , optStrFileN )
This is an optional parameter, but if you need to use subsequent parameters, then you can specify a null string ("") here.
This is an optional parameter, but if you need to use subsequent parameters, then you can specify a null string ("") here.
−4 | Some of the attached files were not found. |
−3 | Wrong number of parameters (at least three parameters are required). |
−2 | The INDMail.DLL library version is incorrect. |
−1 | The INDMail.DLL library is corrupted. |
0 | Success |
1 | Cannot execute the function because the last e-mail has not been sent yet. |
2 | Internal error |
Before you can send any email, you must first use the CnfEmail function to configure the email settings. Incorrect settings can result in several different error codes (see "Returned value" above).
Tag Name | Expression |
---|---|
Tag | SendEmailExt( "Subject", "Message", "Sam@universe.com", "", "", "C:\Projects eport.txt" ) |
Tag | SendEmailExt( "Subject", "Message", "David@Ohio.net", "Ted@Austin.com", "Bart@Springfield.gov", "C:\TechRef51.doc" ) |