• Post Reply Bookmark Topic Watch Topic
  • New Topic

javamail and imap  RSS feed

 
Cristian Popovici
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello people,

How can i send an email using javamail api through an imap server?

Cheers,
Cris.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMAP is a protocol for receiving mail; you can't use it to send mail. For that, you'd use SMTP.

Extensive JavaMail code samples can be found in this tutorial.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!