By Ivanhoe123 on
Hi everyone,
Drupal website is hosted on a Windows server with IIS7.
SMTP is installed, connected to proper port and enabled. I created a sample email file, placed it in "Pickup" folder of mailroot and it was working properly. I think that everything is OK on this side.
However, Drupal does not give me any error. Each time I try to send email (via contact form, register a new user etc.) I get the message that email was sent successfully but I receive nothing.
Anyone with a similar problem? Is there anything to add in the web.config file?
Thank you in any case
Comments
If you're using a PHP thread
If you're using a PHP thread for sending email from IIS; your PHP.ini must correctly specify the location of the mail program AND the port number to run from. Depending on the program that will send the email for you, you may also need to supply a send_from address. If one is not specified, the mail() function may work, but windows will reject the outgoing message.
I don't think the problem stems from your Drupal installation.
Check: http://us3.php.net/manual/en/mail.configuration.php for more info.
Checking
Thank you, I'm checking that right now.
Will post here the results