|
From: David W. \(XML\) <da...@dr...> - 2005-02-14 17:25:25
|
Lucia, I believe you can download the ebMail client to test all this. DW ----- Original Message ----- From: "Lucia Melotti" <lme...@cs...> To: <ebx...@li...> Sent: Monday, February 14, 2005 12:08 PM Subject: [ebxmlms-general] Sending messages with SMTP protocol > > Hi all, > I"m using Hermes MSH sending messages through HTTP and it"s all OK!! but > I would like exchanging messages through SMTP protocol. > I have some question... > > 1- Can I do it directly with the Hermes 1.0.0.0 version? Or have I to > develop added code by myself ? > 2- To send messages through SMTP, can I use the company server mail? > 3- How have I to configure Hermes MSH to use SMTP? Here is my > msh.properties.xml: > > ... > <Mail> > <SMTP> > <!-- Mail server for sending messages --> > <Host>risc990.bologna.enea.it</Host> > <Port>25</Port> > <User>xxxxx</User> > <Password>xxxxx</Password> > </SMTP> > > <Poll> > <Protocol>pop3</Protocol> > <Host>risc990.bologna.enea.it</Host> > <Port>110</Port> > <Folder>INBOX</Folder> > <User>xxxx</User> > <Password>xxxxx</Password> > <MonitorInterval>20000</MonitorInterval> > <!--optional property for forcing the MSH to change the subtype > of > incoming SOAP messages to "multipart/related" --> > <ForceChangeSubType>true</ForceChangeSubType> > </Poll> > > <SMIME> > <Encryption> > <KeyStore> > <Path>/hermes</Path> > <File>public_keystore</File> > <Password>changeit</Password> > </KeyStore> > </Encryption> > <Decryption> > <KeyStore> > <Path>/hermes</Path> > <File>my_keystore</File> > <Alias>smimekey</Alias> > <Password>changeit</Password> > </KeyStore> > </Decryption> > </SMIME> > </Mail> ... > > In ToMSHURL field I wrote: "mailto:moda-ml@bo..." > Is it right? > Have I to do something else? > Now with this configuration, my msh.log reports this error: > > 2005-02-14 16:57:54,626 INFO [http-8080-Processor25]: Process command:Send message (31) > 2005-02-14 16:57:54,626 INFO [http-8080-Processor25]:Received request to send message > 2005-02-14 16:57:54,967 INFO [Thread-39]: Sending message to moda-ml@bo... > through risc990.bologna.enea.it > 2005-02-14 16:57:55,097 ERROR [Thread-39]: [10102] Cannot compose mail message Exception: > javax.mail.internet.AddressException Message: Nested group > 2005-02-14 16:57:59,223 INFO [http-8080-Processor25]: Process command: Get message (32) > 2005-02-14 16:58:15,356 INFO [Thread-3]: Receiving pop3 messages from risc990.bologna.enea.it<INBOX> > 2005-02-14 16:58:38,389 ERROR [Thread-3]: [10105] Invalid POP/IMAP server -Server:risc990.bologna.enea.it, Port: 110, Folder: INBOX, User: moda-ml > Exception: javax.mail.MessagingException Message: Connect failed; > nested exception is: > java.net.SocketTimeoutException: Read timed out. > > > Thanks in advance for your help!! > Regards Lucia > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > |