Click or drag to resize

MailControllerSendMail Method (MailAddressCollection, MailAddressCollection, MailAddress, String, String, CollectionAttachment, Int32, MailPriority, Boolean, Int32)

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public void SendMail(
	MailAddressCollection toAddresses,
	MailAddressCollection ccAddresses,
	MailAddress fromAddress,
	string subject,
	string message,
	Collection<Attachment> attachments,
	int sourceObjectId,
	MailPriority mailPriority,
	bool logMail,
	int toUserId
)

Parameters

toAddresses
Type: System.Net.MailMailAddressCollection
ccAddresses
Type: System.Net.MailMailAddressCollection
null if no CC addresses
fromAddress
Type: System.Net.MailMailAddress
subject
Type: SystemString
message
Type: SystemString
attachments
Type: System.Collections.ObjectModelCollectionAttachment
sourceObjectId
Type: SystemInt32
mailPriority
Type: System.Net.MailMailPriority
logMail
Type: SystemBoolean
toUserId
Type: SystemInt32
See Also