| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
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:
Also, does Surpass allow connecting to other smtp servers for sending mail? (like can we send the mail through Gmail?) Thanks for the help ![]() |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2008
Lives in UK
68 posts
Gave thanks: 5
Thanked 8 times
|
I'm just getting to grips with how things run here so I may not be entirely accurate. I'll also assume your domain is set up here also.
Looking at (Which tells about outlook): https://desk.surpasshosting.com/inde...d=150&nav=0,13 ii. Outgoing mail server (SMTP) [ mail.yourdomain.com] I don't know if it would vary on shared hosting package though. often a host will then use the same username and password for the SMTP as the POP or IMAP. I presume you already have E-mail set up in some form? If you have cPanel you would probably be able to get the info in there also. I've never really used cPanel so I'm not sure where to find it, just look for something that says e-mail account. |
|
|
|
| This user thanks gmax21 for this great post! | brianluau (June 28th, 2008) |
|
|
#3 (permalink) |
|
the one who was
Super #1
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
|
PHP Code:
__________________
Patrick Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org |
|
|
|
| This user thanks patrickb for this great post! | brianluau (June 28th, 2008) |
|
|
#4 (permalink) |
|
Registered User
Seasoned Poster
Joined in Mar 2008
Lives in California
Hosted on SH126
35 posts
Gave thanks: 9
Thanked 0 times
|
Thanks both of you, for the help
![]() We got it working and the config looks something like this: PHP Code:
|
|
|
|