It's all about the answers!

Ask a question

How to connect jazz server to smtp server ?


Mai Saad (11234) | asked Apr 21 '13, 7:12 a.m.
edited Apr 21 '13, 7:14 a.m.

- i`ve recently installed SMTP server on my machine http://local-smtp-server.en.softonic.com/download#downloading ,after i  run smtp server then tried to enable mail configuration settings in RTC 4.0 using https://localhost:9443/jts/admin using following values :

enable e-mail notification : true

SMTP Server name : smtp.localhost.com

server port : 25

 

email from address (mymail@yahoo.com)

i got exception when tried to send test mail : unknown SMTP host :smtp.localhost.com; nested exception is : java.net.unknownhostexception: smtp.localhost.com or couldn`t connect to smtp host : smtp.localhost.com, port:25, response:-1 , notice i made test smtp port 25 and it successeded

or exception reading response; nested exception is : java.net.sockettimeoutexception: read timeout when used smtp server from http://www.softstack.com/freesmtp.html

Did i use wrong smtp server ?

How can i know the correct smtp server name ?

any ideas ?!

Thanks

One answer



permanent link
sam detweiler (12.5k6195201) | answered Apr 21 '13, 8:54 a.m.
did you add 'smtp.localhost.com' to your local hosts file or DNS server?

the DNS (name resolver) is stupid.. it looks in the hosts file, or asks the defined DNS server
'tell me the number for this name'... if the server doesn't know, there is no guessing..

so, just change it to localhost, or 127.0.0.1 or update the hosts file.

Comments
Mai Saad commented Apr 21 '13, 11:10 a.m.

@sam: thanks alot for reply ,

sorry , where ican i find  the local hosts file ??!


Anthony Kesterton commented Apr 21 '13, 4:29 p.m.
JAZZ DEVELOPER

On Windows, this file is in C:\Windows\System32\drivers\etc.

anthony


Mai Saad commented Apr 23 '13, 10:45 a.m. | edited Apr 23 '13, 11:43 a.m.

@ Anthony : thanks alot for your response , but i wonder if i shall add new entery after that

127.0.0.1    local host ?? and if yes so which IP shall i use before smtp.localhost.com ??


Mai Saad commented Apr 23 '13, 10:55 a.m.

@sam : using localhost or 127.0.0.1 as smtp server name works fine , thanks .

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.