• Post Reply Bookmark Topic Watch Topic
  • New Topic

Glassfish JavaMail session  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have this small ejb bean that sends emails, i use JavaMail Session on the Glassfish. On the settings of Admin Glassfish under Java Mail Session i use Google credentials to receive emails. With google account i can receive and send  emails but when  i try with personal email of  my my@dommainname.com then then the Glassfish is not sending any emails.

I have suspicion that i don't fill correct information on Glassfish under JavaMail Session. On the tab "Advanced" under JavaMail Session there are 4 filld required some information about my mail server:

Store Protocol: imap
Store Protocol Class: mail.mydommainname.com
Transport Protocol: smtps
Transport Protocol Class:  mail.mydommainname.com

The Oracle manual says:

Store Protocol Class: Provides the Store communication method class that implements the desired Store protocol. By default, the Store Protocol Class is com.sun.mail.imap.IMAPStore.
Transport Protocol Class: Defines the communication method for the transport class. By default, the Transport Protocol Class is com.sun.mail.smtp.SMTPTransport.

Where do i find my store&transport protocol class of my server?

kind regards,

Alix
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!