Hi Ted,

for a plain text email:

try {
        ERMailDeliveryPlainText mail = new ERMailDeliveryPlainText();
        mail.newMail();
        mail.setFromAddress("[email protected]", "My Name");
        mail.setToAddress("[email protected]");
        mail.setSubject("My Subject");
        mail.setTextContent("Mail Body Text");
        mail.sendMail();
} catch (Exception e) {
        log.error("error during mail creation/sending", e);
}



Am 22.10.2011 um 04:32 schrieb Theodore Petrosky:

> Is there an Wonder example for sending emails from inside a project?
> 
> I feel like i saw one somewhere but I can not find it.
> 
> Ted



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to