Hello Folks
I'm working on a php script on a dedicated server (which means I've got to get the smtp server running myself). De server runs Plesk 7.5.
The problem is: I try to send a mail with the PHP function mail(). I don't get any errors but the mails never arrive. The script seems correct because it does work on other servers.
I don't really have a lot of experience in configuring a server. So I hope you can help me. De settings are:
phpinfo() returns:
sendmail_from: me@localhost.com
sendmail_path: /usr/sbin/sendmail -t -i
serialize_precision: 100
short_open_tag: On
SMTP: localhost
De SMTP-server (de optie mail bij het onderdeel server) is als volgt gedefinieerd:
De SMTP-server is defined as follows (see the option mail under server):
Maximum signlength: not defined
relaying: authorisation required (de option open is not available and the option close is not enough)
for POP3 en SMTP
(I translated these options from dutch)
I've added the ip-adres from the site to the white list.
My questions:
- In the white list you have to give a mask number (besides the IP). How do I get one. (Right now I just used a random number between 1 and 32)
- Autorisation required: How do I authorise myself in a php-script?
- Are any adaptions in the DNS necessary? Right now there is no smtp server defined
I hope u can help me
Greetingz
Jasper Levink
I'm working on a php script on a dedicated server (which means I've got to get the smtp server running myself). De server runs Plesk 7.5.
The problem is: I try to send a mail with the PHP function mail(). I don't get any errors but the mails never arrive. The script seems correct because it does work on other servers.
I don't really have a lot of experience in configuring a server. So I hope you can help me. De settings are:
phpinfo() returns:
sendmail_from: me@localhost.com
sendmail_path: /usr/sbin/sendmail -t -i
serialize_precision: 100
short_open_tag: On
SMTP: localhost
De SMTP-server (de optie mail bij het onderdeel server) is als volgt gedefinieerd:
De SMTP-server is defined as follows (see the option mail under server):
Maximum signlength: not defined
relaying: authorisation required (de option open is not available and the option close is not enough)
for POP3 en SMTP
(I translated these options from dutch)
I've added the ip-adres from the site to the white list.
My questions:
- In the white list you have to give a mask number (besides the IP). How do I get one. (Right now I just used a random number between 1 and 32)
- Autorisation required: How do I authorise myself in a php-script?
- Are any adaptions in the DNS necessary? Right now there is no smtp server defined
I hope u can help me
Greetingz
Jasper Levink
