Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
The following code demonstrates how to call the SendMail method.
[This is preliminary documentation and is subject to change.]
Sends a mail with specific content and settings. Use this method if you
want to customize the content of the mail, instead of calling the Invoke
method.
Namespace: ContentStudio.Site.ActiveScripting.Misc
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- content
- Type: SystemString
The body text of the mail
Examples
MailForm mf = new MailForm(); mf.ServerName = "mailserver"; mf.StaticMailTo = "info@contentstudio.se"; mf.SendMail("Hello " + Request.Form["name"]);
See Also