Page 1 of 1

Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 3:26 am
by coolemail
Please could someone clarify something. When setting up online forms, it is asking for SMTP Hostname, SMTP Username, SMTP password, SMTP Port.

Our server's hostname is plesk2.hostdomain.com

The client's domain is clientdomain.com.

So is the hostname plesk2.hostdomain.com or mail.clientdomain.com? The username and password must be the mailbox's email address and password. For the port, should we put 25 or 587?

And our server is configured for mail authentication but this has not been requested.

Can someone clarify this for me please?

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 6:01 am
by mikeshinn
If you are connecting to your own server just use "localhost", on ports if you are doing authenticated SMTP use port 587.

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 6:36 am
by coolemail
the site is built on a remote e-commerce company, so not local. What settings should we use in that case?

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 7:02 am
by mikeshinn
SMTP server should point to any SMTP server that can send mail out for you. Best practice is to send the mail to the server that is authoritative for the domain you intend to use in the From: line, which will make it easier to setup reverse MX records, SPF and other antispam DNS records.

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 7:06 am
by coolemail
thanks Mike. So if on POP3 they set the ougoing SMTP mail server as mail.clientdomain.com, then they should use mail.clientdomain.com as the server, and together with port 587 and both username and password given, that should all work with the authentication? thanks for your patience.

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 7:12 am
by mikeshinn
Yep, that should work fine.

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 7:25 am
by coolemail
THANK YOU, as ever, for your help.

Re: Basic SMTP settings for sending mail

Posted: Wed Apr 14, 2010 9:16 am
by mikeshinn
My pleasure. :-)