Re: about sending several emails in a batch

2008-02-24 Thread zheng hao
urn the message id of the underlying MimeMessage > * @throws EmailException the sending failed > */ > public String send() throws EmailException > { > this.buildMimeMessage(); > return this.sendMimeMessage(); > } > * > > Siegfried Goeschl > > zheng

Re: about sending several emails in a batch

2008-02-22 Thread zheng hao
itself is "inversion of control" but > the bad one - using some sort of transport layer based on interfaces > would be nice > > Cheers, > > Siegfried Goeschl > > zheng hao wrote: > > hi all Commons Email dev, > > > > I found when i want to send

Re: about sending several emails in a batch

2008-02-20 Thread zheng hao
lt. > > On 2/20/08, zheng hao <[EMAIL PROTECTED]> wrote: > > yeah, I just mean that. > > > > it's much like the api of javamail itself, but we can provide more > > conventient usage than it. most important is the efficiency of sending > mails > &

Re: about sending several emails in a batch

2008-02-20 Thread zheng hao
gt; .. > trans.send(); > > Sounds useful to me. > > cheers > -- > Torsten > > On 20.02.2008, at 06:10, zheng hao wrote: > > > hi all Commons Email dev, > > > > I found when i want to send several emails in one connection, > > Commons Email > > do

about sending several emails in a batch

2008-02-19 Thread zheng hao
hi all Commons Email dev, I found when i want to send several emails in one connection, Commons Email doesn't help. It connects to the SMTP server per email, and it spends more time on authentication than sending the mails themselve (most SMTP server needs authentication). So I have to code on the