Back

SendMail

Hello World

Send an EMail to someune using the default mail application. The passed argumets will be auto-filled.

app.SendMail( address, subject, body, attach, type, options )

See Also: SendSMS, SendFile

Example - Example

function OnStart()
{
    app.CopyFile( "/Sys/Img/Hello.png", "/sdcard/Hello.png" );
    app.SendMail( "myfriend@gmail.com", "MySubject", "Hello", "/sdcard/Hello.png" );
}
    Copy     Copy All       Run      
string
string: mimetype
string: path to file or folder ( “/absolute/...” or “relative/...” )
string: comma “,” separated: “SendTo”