[jboss-user] [Beginners Corner] - JBoss with Gmail
vishwanath.nadimpally
do-not-reply at jboss.com
Fri Dec 29 10:53:12 EST 2006
How can we configure JBoss to use Gmail smtp. I am using 4.0.2 and I want Jboss to use gmail smtp. I did something in my mail-service.xml.
| <attribute name="Configuration">
| <!-- Test -->
| <configuration>
| <!-- Change to your mail server prototocol -->
| <property name="mail.transport.protocol" value="smtp"/>
|
| <property name="mail.smtp.starttls.enable" value="true"/>
| <property name="mail.smtp.host" value="smtp.gmail.com"/>
| <property name="mail.smtp.auth" value="true"/>
|
|
| <!-- Change to the SMTP gateway server -->
| <!-- Change to the address mail will be from -->
| <property name="mail.from" value="someaddress at gmail.com"/>
|
| <!-- Enable debugging output from the javamail classes -->
| <property name="mail.debug" value="false"/>
| </configuration>
| </attribute>
|
But this doesnt work. I keep getting error
"class javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first 9sm23453515agc"
Can some one help me please?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996873#3996873
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996873
More information about the jboss-user
mailing list