dpleskuser
New Pleskian
Hi,
I recently moved to a dedicated windows server running plesk and am unable to send mail to external domains (it works great if I email an address on my own domain though).
Here's an example of a php file that would have worked previously (before switching to windows plesk) but no longer does...
<?php
ini_set("sendmail_from", "[email protected]");
mail("[email protected]","testSubject","testMessage");
echo "finished";
?>
I was looking through the server settings and various bits of documentation and I'm not clear on whether plesk requires an smtp server to be specified to send external mail?
Either way, right now the plesk page "External SMTP Server Settings" has both options checked ("Allow Plesk to send email notifications through this SMTP server" and "Use the mail server installed with Plesk and the default mail account created by Plesk"), but in terms of the DNS settings, everything goes through mail.mydomain.com (i.e. there's no "smtp.mydomain.com").
Sorry if that's unclear, but I'm really scratching my head on where to start with this problem, and I'm hoping that something above rings a bell with someone here! Thanks for any thoughts at all!
Dan
I recently moved to a dedicated windows server running plesk and am unable to send mail to external domains (it works great if I email an address on my own domain though).
Here's an example of a php file that would have worked previously (before switching to windows plesk) but no longer does...
<?php
ini_set("sendmail_from", "[email protected]");
mail("[email protected]","testSubject","testMessage");
echo "finished";
?>
I was looking through the server settings and various bits of documentation and I'm not clear on whether plesk requires an smtp server to be specified to send external mail?
Either way, right now the plesk page "External SMTP Server Settings" has both options checked ("Allow Plesk to send email notifications through this SMTP server" and "Use the mail server installed with Plesk and the default mail account created by Plesk"), but in terms of the DNS settings, everything goes through mail.mydomain.com (i.e. there's no "smtp.mydomain.com").
Sorry if that's unclear, but I'm really scratching my head on where to start with this problem, and I'm hoping that something above rings a bell with someone here! Thanks for any thoughts at all!
Dan