Adds a fully setup JavaMail email to the queue. The presence of identical
mails can not be detected due to the fact that each message already contains
a unique message ID. Duplicates with thus be sent as many times as they are
added.
This complements the quick way of adding Email instances by providing
a way to queue even HTML emails, mails with attachments, etc ...
Parameters: email - The MimeMessage instance that needs to bequeued. true if the email was successfully queued; or false otherwise exception: MailQueueManagerException - If an error occurred whileadding the email to the queue See Also: MailQueueManager.queue(Email) since: 1.0
|