November Happy Hour will be moved to Thursday December 5th.

XForm page not sending email

Vote:
 

Hi,

We have Site which has a Contact Us (Xform) page. It is set to save to database and send email.

It saves to the database alright but it doesn't send an email and doesn't go to the the thank you page even when one is set.

This is currently my smtp setting:

<smtp from="noreply@bayerpet.com.au" deliveryMethod="Network">
<network host="192.168.0.102" port="25" userName="" password="" defaultCredentials="false" />
</smtp>

 How can I troubleshoot this one? I don't think I can debug the submit button of the Xform Control. Can I?

#52386
Jul 21, 2011 1:41
Vote:
 

Hi Jan

Make sure you have the proper code in Global.asax.cs. If you install a new site with Public Templates you'll automatically get this code which you then can compare and copy into your solution. Also make sure that the from address is a valid email address.

Hope this helps.

Frederik

#52389
Jul 21, 2011 11:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.