Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Greg Berlin 818 posts 634 karma points
    Jan 25, 2013 @ 22:41
    Greg Berlin
    0

    Can't send email from a prod server

    Wow, this is so weird.  I'm totally stuck and pretty much ready to ditch Pliable form and write my own contact forms.

    I'm moving a website from one server to another.  On the old server the pliable forms work perfectly, no issues at all.  Same on localhost.

    But on the new server, i just can't get it to work.  Here's what i've tried:

    • Downloaded the source and added Umbraco Logging - works on localhost, but not on the server - nothing appears in the Umbraco log
    • Switched the sending mail code to use a mail sending function in my own helper class - the same one that i'm using for other parts of my website.  Still wont send emails, even though the other parts of the site can send using that same function!  So what is different between this code calling that function and my own code?  AJAX?  Hmmmm
    • Created a debug string and built it as it goes through the code, then output to log.  Again same problem as above. Tried to assign my debug info to the nr.Msg which gets returned by the sendForm function and displayed in the error field.  Works on localhost but not on Prod!!  WTF???
    Does this sound normal to anyone?  Does anybody have a clue what could be wrong, or steps i could take to solve this issue.  
    Any tips or suggestions that might help, no matter how small or trivial, would be greatly appreciated.  I"m tearing my hear out on this one.
    PS: It's a new VPS, win 2008.  Everything else on this site works fine, just pliable forms can't send emails.  Server config?  I'm lost on this one.. :(

  • Greg Berlin 818 posts 634 karma points
    Jan 26, 2013 @ 02:27
    Greg Berlin
    100

    Okay... was a stupid problem.  I had turned on SSL for the Umbraco folder, under which lived the web service asmx file.  I moved it out of the /umbraco folder into a new /webservices folder and now all is good :)  Hooray :)

Please Sign in or register to post replies

Write your reply to:

Draft