Re: Setting SMTP Port in scarab
"Jorge Uriarte Aretxaga" <[email protected]> Mon, 20 Oct 2008 11:33:16 +0200
| Newsgroups | gmane.comp.java.scarab.user |
|---|---|
| Message-ID | <[email protected]> |
Khaled; I'm not currently sure about the smtp port being read from any configuration (don't have access to the code in this moment) If you are in a hurry and want to tweak the code, the Email class extends from commons-email, and commons-email has some methods like setSmtpPort and setTLS (which you will probably need to interact with google's servers). http://commons.apache.org/email/api-1.0/org/apache/commons/mail/Email.html _ Jorge On Sun, Oct 19, 2008 at 9:49 PM, Khaled Mahmoud <[email protected]>wrote: > Hi all, > I a want to use gmail as in smtp server for scarab. gmail smtp server > listens on a port other than 25 (The default port for SMTP). Is there a way > in scarab, to configure the smtp port ??? > > I have tried many way, including the custom.properties file and it didn't > work and I also to look at the code to see where it specifies the port but > without success. > > Please help, this is soooooooo urgent for me. > > Thank you all in advance. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >