please let me know about sending e-mail in servoy
That is in the manuals and you can also look at the sample data attached to the mail plugin.
sannaingtun:
please let me know about sending e-mail in servoy
Here’s some sample code to use to send:
function sendEmail()
{
var msgText = arguments[0];
var success = plugins.mail.sendMail('joe.bloggs@tci-services.com', 'Servoy Auto System <joe.bloggs@tci-services.com>', 'Servoy Error', msgText);
if (!success)
{
plugins.dialogs.showWarningDialog('Alert','Failed to send email','OK');
}
}
Remember you’ll need to set-up the SMTP server details and credentials on the Servoy Server admin page.
Hope that helps.