send_to_sync
Description:
[ Version ( since = "3.0" ) ]
public virtual bool send_to_sync (MimeMessage message, Address from, Address recipients, out bool out_sent_message_saved, Cancellable? cancellable = null) throws Error
public virtual bool send_to_sync (MimeMessage message, Address from, Address recipients, out bool out_sent_message_saved, Cancellable? cancellable = null) throws Error
Sends the message to the given recipients, regardless of the contents of message
.
If the message contains a "Bcc" header, the transport is responsible for stripping it.
Parameters:
this | |
message |
a MimeMessage to send |
from |
a Address to send from |
recipients |
a Address containing all recipients |
out_sent_message_saved |
set to true, if the sent message was also saved |
cancellable |
optional Cancellable object, or null |
Returns:
true on success or false on error |