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!
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...
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.
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
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...
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.
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!
Have you set the smtp settings in your web.config?
Dan
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...
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.
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!
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..
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.
Okay so only working on the frontpage not on subpages.
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
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.
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...
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.
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.
is working on a reply...
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.