Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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:
<system.net><mailSettings><smtp deliveryMethod="SpecifiedPickupDirectory" from=""><network host="localhost" /><specifiedPickupDirectory pickupDirectoryLocation="C:\inetpub\mailroot" /></smtp></mailSettings></system.net>
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" />
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.
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).
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 18.104.22.168 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.
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)
Ignore that...it does work its just that the email I was using doesnt! tried it with my hotmail and it was fine.
HelloI am using Umbraco version 6.02I 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é
Use local test try:
<smtp deliveryMethod="SpecifiedPickupDirectory" from="[email protected]">
<specifiedPickupDirectory pickupDirectoryLocation="C:\Users\Anders\Documents\My Web Sites\strongminds\App_Data\mail" />
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...
Write your reply to:
Image will be uploaded when post is submitted