Copied to clipboard

Flag this post as spam?

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


  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 14:22
    Scott Hugh Alexandar Petersen
    0

    Doc2Form not sending e-mail

    Doesn't even give an error or anything it just does not send. I have xsltsearch installed and has a defaultbutton defined for the search as it is in the master page.

    However it still does not work... it is pratically driving me crazy!

  • dandrayne 1138 posts 2262 karma points
    Nov 16, 2009 @ 14:31
    dandrayne
    0

    Have you set the smtp settings in your web.config?

    Dan

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 14:34
    Scott Hugh Alexandar Petersen
    0

    Yeah set but does not send out..

    Using umbraco 4.0.2.1 with autoform and it works perfectly on another site just not on this one... both sites got the xsltsearch installed so it shouldn't be that...

  • dandrayne 1138 posts 2262 karma points
    Nov 16, 2009 @ 14:55
    dandrayne
    0

    Can you post the macro include code from your template?  When SMTP is set, I've not seen this problem, although it may be a simple case of changing the macro include code.

     

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 15:00
    Scott Hugh Alexandar Petersen
    0

    Yeah sure, though I am used to using this module so it seems a bit strange.

    The macro code is as follows:

    <div umb_redirecttonode="1237" umb_formtoemailaddress="MY EMAIL" umb_sendemailresponse="0" umb_emailform="1" umb_formfromemailaddress="SERVER EMAIL" umb_hidetabnames="1" umb_pagetabs="0" umb_macroalias="Doc2FormEmail" umb_tabname="data" umb_requiredtext="Obligatoriske felter" umb_useajax="0" umb_submitbuttontext="Send" umb_showdescriptions="0" umb_documenttype="1227" ismacro="true" umbversionid="95a74959-d1ee-4953-9d91-3bd4643d3c22" umbpageid="1228" onresizestart="return false;" title="This is rendered content from macro" class="umbMacroHolder"><!-- startUmbMacro -->
    NOT RENDERED
    <!-- endUmbMacro --></div>

    Again almost same setup is running on another site on the same server and versions are a like.

    Thanks!

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 15:13
    Scott Hugh Alexandar Petersen
    0

    I put in the excact same macro in a new content tree that I made in the same umbraco solution and that works.. but not in the other one... buhu..

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 15:19
    Scott Hugh Alexandar Petersen
    0

    So I created the structure in the new root and bang it stopped working down the hieraki but still working on the front page... weird huh.

    So it has something to do with the urls probably.

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 15:38
    Scott Hugh Alexandar Petersen
    0

    Okay so only working on the frontpage not on subpages.

  • dandrayne 1138 posts 2262 karma points
    Nov 16, 2009 @ 15:45
    dandrayne
    0

    I've found that if the form tag isn't included in the templates the form won't show, and IIRC an error is thrown if the smtp settings aren't set up in the web.config, so we can potentially eliminate that.

    Are you sure the emails aren't being sent?  It may be that they're not being received?  Try sending to a different address, or check junk

     

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 15:49
    Scott Hugh Alexandar Petersen
    0

    Been checking all of them - they are not sent.

    Strange behaviour I would say because it works perfectly on the frontpage but not on any other subpages.

  • dandrayne 1138 posts 2262 karma points
    Nov 16, 2009 @ 16:08
    dandrayne
    0

    As it uses node values, I can't see why that would make a difference.... unless a <form runat="server"> is missing from your subpage template, although then the form wouldn't show at all.  Very strange...

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 16, 2009 @ 16:17
    Scott Hugh Alexandar Petersen
    0

    I agree - and the form tag is of course on all pages as it is in the master template.

    I wrote to Casey to find out if he has experienced it before.

    Thanks anyways Dan.

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Nov 17, 2009 @ 13:36
    Scott Hugh Alexandar Petersen
    0

    I found that this is due to two asp.net forms, which makes it break the forms on subpages for some reason. I made the searchbox a regular html button so to say and made it GET the search term used.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies