mail.smtp.sendpartial not working
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   clair_cabal
Posted On:   Monday, December 31, 2001 11:26 AM

I am setting this property as follows: properties.setProperty( "mail.smtp.sendpartial", "true" ); In my own send method I do the following: m.saveChanges(); Transport trans=session.getTransport(); trans.connect(); trans.sendMessage( m, m.getAllRecipients() ); trans.close(); When I send with one valid email address and one invalid email address, nothing is sent. Using the SendException getValidUnsentAddresses() and the getInvalidAddresses() returns the correct addresses. What I am doing wrong? Thank   More>>

I am setting this property as follows:


			
properties.setProperty( "mail.smtp.sendpartial", "true" );



In my own send method I do the following:


			
m.saveChanges();

Transport trans=session.getTransport();

trans.connect();

trans.sendMessage( m, m.getAllRecipients() );

trans.close();


When I send with one valid email address

and one invalid email address, nothing

is sent. Using the SendException

getValidUnsentAddresses() and the

getInvalidAddresses() returns the correct

addresses. What I am doing wrong?


Thanks, Clair

   <<Less

Re: mail.smtp.sendpartial not working

Posted By:   John_Zukowski  
Posted On:   Monday, December 31, 2001 06:28 PM

Just curious if you've tried multiple mail servers. It could be a setting on the other side.
About | Sitemap | Contact