|
|
 |
 | Email server setting |  |
Posted: Sat Oct 15, 2005 6:43 pm |
|
|
| tytang |
| Visitor |
|
 |
| Joined: 15 Oct 2005 |
| Posts: 11 |
|
|
|
 |
 |
 |
|
1) Need to set the email server to mail.mydomain.com...
Is there anywhere to set them..
Looks like the Randomizer defaults to 'localhost'...
As such the script fails to sent email to my customers.. since in my case localhost cannot be used to sent emails..
=============================================
2) Due to the nature of my hosting company which block email spamming...
I need to authenticate through POP3 before sending emails through SMTP..
Is there anywhere for me to modify the scripts to support such features... i.e. authenticate through POP3 before emailing.. |
|
|
|
|
 | |  |
Posted: Sun Oct 16, 2005 9:31 am |
|
|
| manish |
| Site Admin |
|
 |
| Joined: 12 Apr 2004 |
| Posts: 561 |
| Location: India |
|
|
 |
 |
 |
|
Hi,
The script uses PHP mail() function in order to send emails. You may have to contact your webhosting company and request them to modify their mail settings so that mail() function uses your mail server and not localhost. There is nothing in the script that can change the mail server automatically.
Manish |
|
|
|
|
 | ini_set |  |
Posted: Sun Oct 16, 2005 6:36 pm |
|
|
| tytang |
| Visitor |
|
 |
| Joined: 15 Oct 2005 |
| Posts: 11 |
|
|
|
 |
 |
 |
|
Hi Manish,
It is possible for you to modify the script so that, smtp server other than 'localhost' found in php.ini is used, through command:
ini_set (SMTP,"mail.mydomain.com")
where mail.mydomain.com is read from config.php
before sending email... |
|
|
|
|
 | from email: |  |
Posted: Sun Oct 16, 2005 7:16 pm |
|
|
| tytang |
| Visitor |
|
 |
| Joined: 15 Oct 2005 |
| Posts: 11 |
|
|
|
 |
 |
 |
|
Hi Manish,
Also the from email setting:
ini_set (sendmail_from,"webmaster@mydomain.com"); |
|
|
|
|
|
|