• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Java Mail API Beginner Question

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
There is no "i" in denial. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic