Engine_Database.Send_Database_Email Method
Send an email using database mail through the database
Namespace: SobekCM.Engine_Library.DatabaseAssembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static bool Send_Database_Email(
string RecipientList,
string SubjectLine,
string EmailBody,
string FromAddress,
string ReplyTo,
bool IsHtml,
bool IsContactUs,
int ReplyToEmailID,
int UserID
) |
Parameters
- RecipientList
- Type: System..::..String
List of recepients, seperated by a semi-colon
- SubjectLine
- Type: System..::..String
Subject line for the email to send
- EmailBody
- Type: System..::..String
Body of the email to send
- FromAddress
- Type: System..::..String
Address this is FROM to override system
- ReplyTo
- Type: System..::..String
Address this should have as REPLY TO from system
- IsHtml
- Type: System..::..Boolean
Flag indicates if the email body is HTML-encoded, or plain text
- IsContactUs
- Type: System..::..Boolean
Flag indicates if this was sent from the 'Contact Us' feature of the library, rather than from a mySobek feature such as email your bookshelf
- ReplyToEmailID
- Type: System..::..Int32
Primary key of the previous email, if this is a reply to a previously logged email
- UserID
- Type: System..::..Int32
UserID that sent this message. This is used to restrict the number of messages sent by the same user in the same day
Return Value
Type:
Boolean TRUE if successful, otherwise FALSE
Remarks
See Also