I have also added the code below in my template. (I have changed [email protected] to my own email address):
<umbraco:Macro FileLocation="~/macroScripts/CultivContactForm.cshtml" MailFrom="[email protected]" FormLabelName="First and last name" runat="server" />
Isthere something Iforgot to do to make it work? When i have filled out the form it just jumps back to my frontpage without any error messages.
Did you resolve this? I am also having problems with this not sending emails via 4.9.1 (but it's working fine in the 4.7.1 site that I'm trying to upgrade).
I found why this was not working for me - not sure if this is the same issue for you, but worth checking. There was a change in Umbraco 4.7.1.1 which caused some macros not to work correctly - actually, apparently this change was a fix for a bug, as they should never have worked if the parameters weren't also set for the macro in the backend.
Thanks for that Allan, I was having a head scratching moment there with this...I'm running 4.11 so none of this worked until I added the parameters.
Strangely though my form will send a copy of the message to the user if they select the checkbox but no mail is going to my admin users (specified in the MailFrom parameter)
I know that this is an old topic. But I am still struggeling to make this form work. I am testing on a local machine and I have added this to my web.config file.
<system.net><mailSettings><smtpdeliveryMethod="SpecifiedPickupDirectory"from="admin@local"><specifiedPickupDirectorypickupDirectoryLocation="C:\Users\Anders\Documents\My Web Sites\strongminds\App_Data\mail"/></smtp></mailSettings></system.net>
Use your own pickupDirectoryLocation and remember to create the folder: mail
Great package by the way. Easy to use and read :-)
Form won't send email
Hi
Does this email form work with Umbraco 4.9?
I am currently trying to make I work in version 4.9, but it wont sent emails. I am testing locally with this added in my webconfig file:
I have also added the code below in my template. (I have changed [email protected] to my own email address):
Is there something I forgot to do to make it work? When i have filled out the form it just jumps back to my frontpage without any error messages.
Thank's in advance.
Kind regards
René
Hi Rene
Did you resolve this? I am also having problems with this not sending emails via 4.9.1 (but it's working fine in the 4.7.1 site that I'm trying to upgrade).
Thanks
Allan
Hi Allan
No unfortunately not but if I resolve it I will post it in here right away. :-) Maybe i will downgrade it to 4.7.1 on this project.
Kind regards, René
I found why this was not working for me - not sure if this is the same issue for you, but worth checking. There was a change in Umbraco 4.7.1.1 which caused some macros not to work correctly - actually, apparently this change was a fix for a bug, as they should never have worked if the parameters weren't also set for the macro in the backend.
See http://our.umbraco.org/forum/developers/razor/27675-Dynamic-parameters-not-working-on-version-4711 - this fixed it for me.
Good luck
Allan
Thanks for that Allan, I was having a head scratching moment there with this...I'm running 4.11 so none of this worked until I added the parameters.
Strangely though my form will send a copy of the message to the user if they select the checkbox but no mail is going to my admin users (specified in the MailFrom parameter)
Any ideas?
S
Ignore that...it does work its just that the email I was using doesnt! tried it with my hotmail and it was fine.
S
Hello
I am using Umbraco version 6.02
I know that this is an old topic. But I am still struggeling to make this form work. I am testing on a local machine and I have added this to my web.config file.
<network host="smtp.googlemail.com" port="587" userName="xxx" password="xxx" defaultCredentials="false"/>
Is it possible to test with a live email acoount on a local machine?
Everytime I click the submit button it is redirecting to the frontpage and no email is sent.
Regarding the web.config file is this the place to setup things like "EnableSsl" like below:
<network host="smtp.googlemail.com" port="587" userName="xxx" password="xxx" defaultCredentials="false" EnableSsl="true"/>
As you can see I am not so experienced in making webforms. :-)
Does anybody have a working ASP.net webform which I can download somwhere?
//René
Hi
Use local test try:
Use your own pickupDirectoryLocation and remember to create the folder: mail
Great package by the way. Easy to use and read :-)
is working on a reply...