Sends an email out, using the Ingeniux CMS site mail settings. The email message will be plain text.
Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax
public XHRServiceResponseGeneric<string> SendMail( string to, string cc, string bcc, string subject, string body )
Parameters
- to
- Type: SystemString
Email recipient addresses - cc
- Type: SystemString
Email Carbon Copy addresses - bcc
- Type: SystemString
Email Blind Carbon Copy addresses - subject
- Type: SystemString
Subject of Email - body
- Type: SystemString
Body of Email
Return Value
Type: XHRServiceResponseGenericStringHard-coded response in user interface language indicating mail has been sent. If any error occurred, error status will be returned.
Examples
JavaScript
//UI language is en-us: { "code": 0, "error": null, "message": "Email message sent." } //UI language is "zh-cn": { "code": 0, "error": null, "message": "电邮发送成功。" }
See Also