View Single Post
Old April 27th, 2008, 3:46 AM   #1 (permalink)
brianluau
Registered User
Seasoned Poster
 
Joined in Mar 2008
Lives in California
Hosted on SH126
35 posts
Gave thanks: 9
Thanked 0 times
SMTP configurations for a php mail script?

On our website (on a shared hosting plan), there's this "Recover your password" option we would like to enable for users.

This is the php script it uses: .../cerescp/mail.php and here are the configs:
PHP Code:
//Mail
$CONFIG['smtp_server']       =    'smtp.yoursmtpserver.com';            // the smtp server, the cp will use to send mails
$CONFIG['smtp_port']         =    '25';            // the smtp server port
$CONFIG['smtp_mail']         =    'user@youremail.com';            // the email of the admin
$CONFIG['smtp_username']     =    '';            // the username of the smtp server
$CONFIG['smtp_password']     =    '';            // the password of the smtp server 
How would we configure these settings to work with SH126's smtp server?
Also, does Surpass allow connecting to other smtp servers for sending mail?
(like can we send the mail through Gmail?)

Thanks for the help
brianluau is offline   Reply With Quote