sendMail function and what is used as 'Sender??"

You can specify the body/attachments and recipients. But what becomes the sender for 'Mail From' on SMTP?

sendMail function and what is used as 'Sender??"

You got it. You can even put multiple headers in, by delimiting them with a tab (\t) character.

Best wishes,

Todd

sendMail function and what is used as 'Sender??"

So that would get parsed and put into the SMTP mail from command? Superb, I'll check it out.

sendMail function and what is used as 'Sender??"

Hi,

You would send this as one of the SMTP headers. An example would look like this:


session.sendMail( "Test message", "This is the body of the email", "[email protected]", null, "From: [email protected]" );

Kind regards,

Todd Wilson