掲示板

How to check SMTP setup is working

thumbnail
12年前 に Puneet Upadhyay によって更新されました。

How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi all,

I have just setup my gmail smtp configuration with liferay 6.0.

How can i check whether or not it is working or not??
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Mail are not sent to the email addresses using mail server configuration.
I did all the required work but no luck

please tell me the solution
thumbnail
12年前 に Nagendra Kumar Busam によって更新されました。

RE: How to check SMTP setup is working

Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿
Did you try creating a new user once mail server configuration is done
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi Nagendra !!!

I tried to create a user but mail is not sent to the specified mail address.

What to do, please help
thumbnail
12年前 に Nilesh Gundecha によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 205 参加年月日: 09/12/01 最新の投稿
Hi Puneet,

Go to Control Panel ==> Server Administration ==> Mail
And Try adding below line in text area which says
"Manually specify additional JavaMail properties to override the above configuration."


mail.smtp.starttls.enable=true


This may solve your problem.

Regards,
Nilesh
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi Nilesh !!!

I did what you say but no luck, can you tell me what to do next???
any alternative for this
thumbnail
12年前 に Nilesh Gundecha によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 205 参加年月日: 09/12/01 最新の投稿
Puneet Upadhyay:
Hi Nilesh !!!

I did what you say but no luck, can you tell me what to do next???
any alternative for this


Configure below : -

Incoming POP Server = pop.gmail.com
Incoming Port = 110
User Name = <Your Gmail User Name>
Password = <Your Gmail password>
Outgoing SMTP Server = smtp.gmail.com
Outgoing SMTP Port = 25
User Name = <Your Gmail User Name>
Password = <Your Gmail password>
mail.smtp.starttls.enable=true

This configuration works fine for me. If required, restart Tomcat Server once (not sure whether required).

Regards,
Nilesh
thumbnail
12年前 に Raja Nagendra Kumar によって更新されました。

RE: How to check SMTP setup is working

Expert 投稿: 484 参加年月日: 06/03/02 最新の投稿
To make sure port is ready to accept connections or not.. try using

telnet mailhost. 25

If it connects.. then your mail server is accepting and accessible..

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi Nagendra !!!

How can i check the port is ready to accept connection??

Please tell me
thumbnail
12年前 に Raja Nagendra Kumar によって更新されました。

RE: How to check SMTP setup is working

Expert 投稿: 484 参加年月日: 06/03/02 最新の投稿
Install or enable telnet client as in

http://social.technet.microsoft.com/wiki/contents/articles/enabling-telnet-client-in-windows-7.aspx


and then open command window.. and execute

telnet smtp.gmail.com 465

this will connect to google and show you a blinking window..

if you mail host and port are different.. use them in place host name smtp.gmail.com
and port 465
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi Nagendra !!!

i am using wndows 7. I did all, what is mentioned in this article "http://social.technet.microsoft.com/wiki/contents/articles/enabling-telnet-client-in-windows-7.aspx",

But when i check on command prompt
telnet mailhost portno

i am getting this error:-

could not open connection to host on port 25 : Connection Failed


Please suggest !!!!
thumbnail
12年前 に Raja Nagendra Kumar によって更新されました。

RE: How to check SMTP setup is working

Expert 投稿: 484 参加年月日: 06/03/02 最新の投稿
What happend when you tried.. with smtp.gmail.com.. it says the same thing..

first check the gmail thing.. if you are on direct internet it should work..
If this does not work disable temporarily firewall http://www.sevenforums.com/tutorials/522-windows-firewall-turn-off.html and recheck with gmail..

Also can you give me your exact mail server and port details.. are they available on internet.. I can check directly for you.
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi Nagendra !!!

In Liferay Server Administration-->mail

Outgoing SMTP Server = smtp.gmail.com
Outgoing SMTP Port = 465
User Name = <my Gmail User Name>
Password = <my Gmail password>
mail.smtp.starttls.enable=true


I am doing this in mail configuration for mail host and port.
Please have a look
thumbnail
12年前 に Nagendra Kumar Busam によって更新されました。

RE: How to check SMTP setup is working

Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿
User Name = <my Gmail User Name>


You have to give your gmail address - not just simple user name, like MY_NAME_IS_BOND@gmail.com
thumbnail
12年前 に Puneet Upadhyay によって更新されました。

RE: How to check SMTP setup is working

Regular Member 投稿: 234 参加年月日: 11/10/22 最新の投稿
Hi Nagendra Busan !!!

I am providing my gmail address for the same, but its not working.
Any Help???
thumbnail
12年前 に Nagendra Kumar Busam によって更新されました。

RE: How to check SMTP setup is working

Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿