I've integrated the doc2form app for my site, and so far all has been good.
I have a form on my page, that gives no errors, but no mails are recieved. In some of the posts on here the suggestion falls on to the SMTP settings and i think i have them set up correctly (perhaps).
My macro from the content page:
<div umb_useajax="1" umb_showtitle="0" umb_pagetabs="0" umb_textonsubmit="Tak for din henvendelse. Vi sender materialet til den anførte adresse hurtigst muligt." umb_hidetabnames="0" umb_formtoemailaddress="mymail@here.dk" umb_formsubject="Bestilling af DVD/Brochure" umb_refreshtoparent="0" umb_storepropertiesincookies="myAdress,myMessage,bodyText,myTown,myEmail,myName,myZipcode,myPhone,myPick" umb_showdescriptions="0" umb_editmode="0" umb_tabname="contact" umb_sendemailresponse="0" umb_macroalias="Doc2FormComplete" umb_publishonsubmit="0" umb_emailform="1" umb_requiredtext="Dette felt skal udfyldes" umb_submitbuttontext="Send forespørgsel" umb_formfromemailaddress="sendermail@here.dk" umb_formmessage="En kunde har bestilt følgende materiale:" ismacro="true" onresizestart="return false;" umbversionid="1d00aeda-f714-431d-b3fe-f58e4cb247a7" umbpageid="1327" title="This is rendered content from macro" class="umbMacroHolder"> <!-- startUmbMacro --><span style="color: green">No macro content available for WYSIWYG editing</span><!-- endUmbMacro --></div>
<umbraco:Macro DocumentType="1332" Template="" TabName="contact" PageTabs="0" HideTabNames="0" ChooseWhereToStore="1416" EditMode="0" ShowTitle="0" TitleName="" SaveMemberAlias=", " ShowDescriptions="0" SubmitButtonText="Send forespørgsel" PreviousButtonText="" NextButtonText="" RequiredText="Tekst markeret med fed skal udfyldes." TextOnSubmit="Tak for din henvendelse. Vi vender tilbage med materiale til den anførte adresse hurtigst muligt!" PublishOnSubmit="0" RefreshToParent="0" RedirectToNode="" PublishWithUserId="" StorePropertiesInCookies="myAdress, myMessage, bodyText" SendEmailResponse="0" ResponseSubject="" ResponseMessage="" ResponseEmailFieldAlias=", " ResponseCopyTo="" EmailForm="1" FormSubject="Bestilling af DVD/Brochure" FormMessage="En bruger har bestilt følgende:" FormToEmailAddress="somemail@somedomain.dk" FormFromEmailAddress="mymail@mydomain.dk" UseAjax="1" DefaultValueNode="" Alias="Doc2FormComplete" runat="server"> </umbraco:Macro>
I've read through the entire forum and the doc2form "manual", but i can't seem to figure out what the problem is. I get a mail with my Form subject and FormMessage, but not the form content.
I can see that doc2form makes a node everytime with the data i entered in the form, although it doesn't set choose a template for these. The Parent node has a template set.
Could that be the issue? I mean, does it send out the data through the child node created for each submit? And because they have no template specified it sends out blanks?
Doc2Form would likely error if the message failed to send. So, I figure your message is being sent, but is getting blocked or something.
Things to try:
First, do not set the to and from field to the same email. This will usually get flagged as spam.
Second, try setting up a notification in umbraco content, and test the notification sends.
Third, try another host, or set another port for your smtp server. Some ISPs block smtp communication to/from anything other than their mail servers. Most email providers allow for a secondary port for this reason.
If your SMTP server requires a secure connection, then a modification is necessary.
I do get the mails, they just don't contain the data entered in my form. All i get is a mail containing the Subject and Message set up in the doc2form code above.
I seriously doubt that my smtp host are blocking some of the content in the mail. So i guess that the problem lies with the form data not being published to what ever function sending the mail from Umbraco?
If i test with the following smtp settings i still get a mail in the MailFolder folder, but it only contains the message set in the doc2form wizard and not the form data :/
Specifying the message removes the default form content. if you want the form results, you can either custom code the output, or use the default form response by including [#FORM] in your message.
umb_formmessage="En kunde har bestilt følgende materiale:
[#FORM]
"
Doc2form - no errors, but no mails are sent
Hi there
I've integrated the doc2form app for my site, and so far all has been good.
I have a form on my page, that gives no errors, but no mails are recieved. In some of the posts on here the suggestion falls on to the SMTP settings and i think i have them set up correctly (perhaps).
My macro from the content page:
My SMTP settings from web.config:
The funny thing is though that in my master i need to have this, for the form to work:
I think this might be the cause of my trouble, but i don't really know what to do with it?
I should note that i followed the installation guide from blogfodder.
Any doc2form experts in at this fine hour? :-)
So far i found that it takes the values inserted into the master.
Hmm. I think i read somewhere on the forum, that you just insert the macro onto a page and fill in the data and you should be good to go?
So clearly i don't need the data 2 places, but what is the correct place then? On the page in the content or in the template?
Alright, some further testing.
clearly i need to set it up in the template, but still i get no mail and no errors. Very peculiar :/
And now i get the submitted forms on childnodes in Umbraco.
So far so good, but still no mails and no errors in that regard :(
Ah yes, now i get mail with a subject and a message, but i can't see what the user entered in the form fields?
Ok, thus far i have this Macro
I've read through the entire forum and the doc2form "manual", but i can't seem to figure out what the problem is. I get a mail with my Form subject and FormMessage, but not the form content.
Any takers on this ?
I can see that doc2form makes a node everytime with the data i entered in the form, although it doesn't set choose a template for these. The Parent node has a template set.
Could that be the issue? I mean, does it send out the data through the child node created for each submit? And because they have no template specified it sends out blanks?
Got the template set on the child nodes to the same as the parent. Still no go :/
Hi MartinB,
There are many things that could go wrong here.
Doc2Form would likely error if the message failed to send. So, I figure your message is being sent, but is getting blocked or something.
Things to try:
First, do not set the to and from field to the same email. This will usually get flagged as spam.
Second, try setting up a notification in umbraco content, and test the notification sends.
Third, try another host, or set another port for your smtp server. Some ISPs block smtp communication to/from anything other than their mail servers. Most email providers allow for a secondary port for this reason.
If your SMTP server requires a secure connection, then a modification is necessary.
Case
Hi Casey
Thanks for your reply.
I do get the mails, they just don't contain the data entered in my form. All i get is a mail containing the Subject and Message set up in the doc2form code above.
I seriously doubt that my smtp host are blocking some of the content in the mail. So i guess that the problem lies with the form data not being published to what ever function sending the mail from Umbraco?
Anyone who has a take on this?
Nobody had this issue before me? :(
I noticed that the Runway standard template has <form> tags around the contentplaceholder that outputs the bodyText section.
I removed those form tags as i didn't see their purpose. Could that be why my form data doens't get sent?
Hmm, shouldn't matter since i have form tags around the macro rendering the contact form?
Alot of talking to myself in this one but:
I have still to figure out why i am not recieving the form data, only subject and message set in the doc2form wizard :/
Isn't there anyone who has experience with this module and might know what's going on?
Really?
Not a single person have experienced anything like this with this modul?
If i test with the following smtp settings i still get a mail in the MailFolder folder, but it only contains the message set in the doc2form wizard and not the form data :/
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory" from="dirk@netaddicts.be">
<specifiedPickupDirectory pickupDirectoryLocation="C:\MailFolder" />
</smtp>
</mailSettings>
Hey Martin,
Specifying the message removes the default form content. if you want the form results, you can either custom code the output, or use the default form response by including [#FORM] in your message.
Case
Casey, the hero of the day!
I learn a little new every day.
Only one problem left. The form sends the ID's of my checkboxlist instead of the text associated with those checkboxes.
Any suggestions on how to correct that issue?
Nevermind, I found the answer in this thread:
http://our.umbraco.org/forum/core/general/6496-Doc2Form-Returning-DropDown-IDs-not-Values
Thanks again Casey, excellent work on the module, my problems aside!
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.