sending email to multiple destination 2005-01-31 - By Conelly, Luis (GE Energy, Non GE, GENE)
Do you have the libraries mentioned in the Manual?? Mail uses a couple of them (activation.jar & mail.jar, I believe).
This is an excrept of one of my build files. This sends mail messages to multiple addresses:
----------------- <mail mailhost="${mail.host}" mailport="${mail.port}" subject="${param.mail.subject}" encoding="plain" from="${param.mail.sender}" tolist="${param.mail.list}" files="${param.mail.file}"> <message src="${param.mail.message}"/> </mail> -----------------
See http://ant.apache.org/manual/install.html#librarydependencies for more information about library dependencies
Regards luis
-----Original Message----- From: George Dibi [mailto:George.Dibi@(protected)] Sent: Monday, January 31, 2005 3:58 PM To: Ant Users List Subject: RE: sending email to multiple destination
It acts like a mail is sent with the javax error, in conclusion no mail is sent.
[mail] Failed to initialise MIME mail: javax/mail/MessagingException [mail] Sending email: test [mail] Sent email with 1 attachment
il: [mail] Failed to initialise MIME mail: javax/mail/MessagingException [mail] Sending email: isoft36 build notification [mail] Failed to send email
D FAILED cadm_gdibi3\buildVOB\autobuild\buildiso.xml:31: IO error sending mail
-----Original Message----- From: Matt Benson [mailto:gudnabrsam@(protected)] Sent: Monday, January 31, 2005 3:50 PM To: Ant Users List Subject: RE: sending email to multiple destination
--- George Dibi <George.Dibi@(protected)> wrote:
> I tried that it didn't work > > <to address="you@(protected)" /> > <to address="me@(protected)" /> > What was the result?
-Matt
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|