From Clomosy Docs
No edit summary |
ClomosyAdmin (talk | contribs) No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
titleStr = 'Clomosy Information'; | titleStr = 'Clomosy Information'; | ||
bodyStr ='Hello, a personalized email has been sent to you via the Clomosy application.'; | bodyStr ='Hello, a personalized email has been sent to you via the Clomosy application.'; | ||
email = ' | email = 'xx@gmail.com'; | ||
if Clomosy.SendMailNoReplay(titleStr,bodyStr,email) | if Clomosy.SendMailNoReplay(titleStr,bodyStr,email) | ||
ShowMessage('Mail sent.') | ShowMessage('Mail sent.') | ||
| Line 30: | Line 30: | ||
<h2> See Also </h2> | <h2> See Also </h2> | ||
* [[Clomosy_Class#Notification_&_Messaging_System | Notification & Messaging System]] | * [[Clomosy_Class#Notification_&_Messaging_System | Notification & Messaging System]] | ||
{{#seo:|title=Send Email in Clomosy - Clomosy Docs}} | |||
{{#seo:|description=Use the SendMailNoReplay function in Clomosy to send emails, specifying the subject, content, and recipient email address (available for premium accounts).}} | |||
Latest revision as of 15:00, 24 December 2024
Only premium accounts can use this.
function SendMailNoReplay(TitleStr, BodyStr, UserGUID :String):Boolean;
SendMailNoReply is used to send an email to the desired email address. When sending the email, the "TitleStr" parameter is used to specify the subject of the email, the "BodyStr" parameter is for the email content, and the final parameter is the recipient's email address.
Example
var
bodyStr, titleStr,email:string;
{
titleStr = 'Clomosy Information';
bodyStr ='Hello, a personalized email has been sent to you via the Clomosy application.';
email = '[email protected]';
if Clomosy.SendMailNoReplay(titleStr,bodyStr,email)
ShowMessage('Mail sent.')
else
ShowMessage('Mail could not be sent.');
}