Saturday, 15 May 2010

email - Configuring jboss to send mails from microsoft exchange server using java mail api -


Java Mail API and Jbs AS 7.1.2. Need to send mail from Microsoft Exchange Server using the Final.

I am able to send mail from jboss using Gmail SMTP server The configuration is given below.

  & lt; Profile & gt; & Lt; Subsystem xmlns = "vase: jboss: domain: mail: 1.0" & gt; & Lt; Mail-session jndi-name = "java: jboss / mail / default" & gt; & Lt; Smtp-server ssl = "true" outbound-socket-binding-riff = "mail-smtp" & gt; & Lt; Login name = "emailid@gmail.com" password = "password" /> & Lt; / Smtp server & gt; & Lt; / Mail-session & gt; & Lt; / Subsystem & gt; & Lt; / Profile & gt; & Lt; Socket Binding-Group Name = "Standard-Sockets" Default-Interface = "Public" Port Offset = "$ {jboss.socket.binding.port-offset: 0}" & gt; & Lt; Outbound-socket-binding name = "Mail-SMTP" & gt; & Lt; Remote-destination host = "smtp.gmail.com" port = "465" /> & Lt; / Outbound-socket binding & gt; & Lt; / Socket binding group & gt;  

I am able to send mail from the EWS Java API (from the normal Java class and not from jboss) to the microphone exchange server.

But, I am unable to find

If someone knows how to configure, please let me know, besides, I even have a version of jboss Let me know if you can configure in


No comments:

Post a Comment