Copied to clipboard

Flag this post as spam?

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


  • Frederik T 216 posts 306 karma points
    Sep 15, 2011 @ 10:45
    Frederik T
    0

    Need some help setting up the contact form

    Ok, this might be silly and stupid, but i will try anyway.

    Ive installed the package, and added the macro to a template. It shows up so at least that part is working.

    If i understand correctly, the "mailFrom" parameter, is the email the form will be sent to, right? So far, none of the emails i tried worked, also tried doing the same with "EnableSsl" turned on. Still nothing.

    I know its extremely vague, but is there some things i could check out, to make sure everything is working as it should? I will check everything on my end before asking the IT department for help and if it could be the server (i'd rather not as they are slooooooow).

  • Frederik T 216 posts 306 karma points
    Sep 15, 2011 @ 11:00
    Frederik T
    0

    Its getting quite tiresome that this forum only lets you edit your post when it wants to, so sorry for double posting.

    Ok, just found out i likely have to edit some SMTP settings in the web.config file. Is it necessary for this plugin? Also what information do i need to add to the web.config for it to work? I guess this might be the problem but checking other things might help also.

  • Sebastiaan Janssen 4847 posts 14373 karma points MVP admin hq
    Sep 15, 2011 @ 13:28
    Sebastiaan Janssen
    0

    Yes, the SMTP server details that are in your web.config are being used to send the e-mails. I can't tell you what they should be, that depends on your environment.

    Have a look in your umbracoLog table, any exceptions while sending the e-mails are being logged there.

  • Andrei Vais 3 posts 23 karma points
    Feb 05, 2012 @ 20:45
    Andrei Vais
    0

    Hi I'm trying to setup the contact form.

    I've created on my contact form some generic properties (mailFrom, mailFromName, etc) and then called the properties when I've inserted the macro liske this:

    <umbraco:Macro
                FileLocation="~/macroScripts/CultivContactForm.cshtml"
                MailFrom='<umbraco:Item field="mailFrom" runat="server"></umbraco:Item>'
                MailFromName='<umbraco:Item field="mailFromName" runat="server"></umbraco:Item>'
                FormLabelName="Your full name"
                FormLabelEmail="Your contact email address"
                FormLabelMessage="Your enquiry"
                FormLabelSendCopy="Tick box if you would like a copy of your enquiry"
                MailSubject="mailSubject"
                MailIntroText="mailIntroText"
                MailSubjectCopyToSender="mailSubjectCopyToSender"
                MailIntroTextCopyToSender="mailIntroTextCopyToSender"
                FormSentConfirmation='<umbraco:Item field="thankYouMessage" runat="server"></umbraco:Item>'
                runat="server" />

    I've looked into the document for a clue on how to link the script variables with the page properties and so far I haven't been successfull.

    Any ideas?

  • Andrei Vais 3 posts 23 karma points
    Feb 27, 2012 @ 23:09
    Andrei Vais
    0

    Evening all

    Still trying to get this cpontact form working - please can anyone help?

    Thank you.

  • David 1 post 21 karma points
    Nov 15, 2012 @ 17:21
    David
    0

    I've the same problem.

     

    <umbraco:Macro
                FileLocation="~/macroScripts/CultivContactForm.cshtml"
                MailFrom='<umbraco:Item field="mailFrom" runat="server"></umbraco:Item>'
                MailFromName='<umbraco:Item field="mailFromName" runat="server"></umbraco:Item>'
                FormLabelName="Your full name"
                FormLabelEmail="Your contact email address"
                FormLabelMessage="Your enquiry"
                FormLabelSendCopy="Tick box if you would like a copy of your enquiry"
                MailSubject="mailSubject"
                MailIntroText="mailIntroText"
                MailSubjectCopyToSender="mailSubjectCopyToSender"
                MailIntroTextCopyToSender="mailIntroTextCopyToSender"
                FormSentConfirmation='<umbraco:Item field="thankYouMessage" runat="server"></umbraco:Item>'
                runat="server" />

     

    ... but i don't know how i can do ... can anyone help me??

     

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft