This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Mail API Beginner Question

 
R Kintali
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,

I am a beginner to Java Mail API.

Just got to know sending mails from java code using mail API by specifying smtp host, port, from and to mail addresses and giving my authentication credentials.

I am curious to know following concepts:

1) Depending on my business logic in my enterprise application, want to send mail to my customer (auto generated replies via email). For this, do I need to create an emailProfile for my application server to give this email address as "from" when sending email using mail API?

2) could you please share useful links where I can find more documentation on mailing concepts and useful tips?

Many Thanks,
Raj.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1: Not sure what you mean by "profile", but you will need to create an account with that address.

#2: The JavaEnterpriseEditionFaq points to much useful material regarding JavaMail.
 
R Kintali
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Dittmer,

Thanks for the reply!

#1: 'emailProfile' - I mean to say 'do we need to have an email account for application server to send mails using mailAPI'.

#2: Thanks for the links, m going through them

Many Thanks,
Raj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic