Register / Login
Win a copy of
Penetration Testing Basics
this week in the
Other JSE/JEE APIs
what can be the sender's email ID ? + Java Mail API
posted 9 years ago
I have written a small application to send mail using
I have used my company's hostname to setup mail server.
and i would like to know wather i can send mail from other email id other than my company's id.
for eg :
my company name is ABC and my email id is
can i send mail from my hotmail/gmail/yahoo id like bellow
// is this valid ?
and if it is not valid than on what properties it depends ???
and the second question is when i say
prop.put(hostName, hostName);//Setup mail server
to setup mail server... why there are two arguements ???
[ January 17, 2007: Message edited by: Jigar Naik ]
What are the steps to create A Mail Application
attachment is going automatically.
Sending email from java. Pls Help!!!
Creating a simple mail application
Problem during sending email using JSP