Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to connect jazz server to smtp server ?

- 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

0 votes



One answer

Permanent link
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.

1 vote

Comments

@sam: thanks alot for reply ,

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

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

anthony

@ 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 ??

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

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Apr 21 '13, 7:12 a.m.

Question was seen: 7,081 times

Last updated: Apr 23 '13, 11:43 a.m.

Confirmation Cancel Confirm