Previous Next

Thread: Can't send SMTP emails from the browser

Last post 07-17-2008 11:40 AM by pensandpencils. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 07-17-2008, 11:12 AM

    Can't send SMTP emails from the browser

    Hi,

    Had a recent upgrade to IIS7/Server 2008 from IIS6/Server 2003. I have PHP running with FastCGI

    I have found that some of my MySQL/PHP apps that I have previously used on my servers are no longer able to send SMTP emails from the browser. I refer specifically to Expression Engine and Wordpress.

    On posting a message or contact form the page immediately hits a 500 page and the error logs spews out the following:

    errno=10054 An existing connection was forcibly closed by the remote host.

    Now my SMTP server works fine and emails are being sent and received. PHP mail() also works fine it just clams up when you try and introduce an SMTP rule into the mix...

    Interestingly Zencart apps have no problems whatsoever sending SMTP emails from the admin panel or from registration forms.

     Anyone have clue what might be causing this?

     

    Thanks

    MA

     

  • 07-17-2008, 11:19 AM In reply to

    Re: Can't send SMTP emails from the browser

    pensandpencils:
    Anyone have clue what might be causing this?

    It's caused by the change you made between when it worked and when it didn't.  First guess is permissions.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 07-17-2008, 11:40 AM In reply to

    Re: Can't send SMTP emails from the browser

     All permissions checked and double checked as per instructions in the apps themselves.

    All SMTP accounts checked but something seems to be shutting the connection. Have you any idea what the error message is relating to specifcally?

    Can you think of any other permission changes I could try?

    Here's the full error message if that helps:

    PHP Notice:  fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 12 bytes failed with errno=10054 An existing connection was forcibly closed by the remote host.
     in C:\XXXX\XXXXXXX\XXXX\XXXXX\core\core.email.php on line 1455

     But yeah as you mentioned maybe its the thing that I changed from last time, for me that has been moving from ISAPI to FastCGI and its been a pain in the ass to be honest ;-)

    Thanks for your help in advance.

    MA

     

Page 1 of 1 (3 items)
Page view counter