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
I've been looking through the code but i can't find it somewhere. I want to change the mailadress so it gets send to my mail address.
You should be able to add the "MailFrom" parameter to the macro and then specify the e-mail you want to be the receiving e-mail. It also states that on the package page here http://our.umbraco.org/projects/website-utilities/cultiv-razor-contact-form
Does that help?
When i put to code into the template i get this 'error':
When i put the file in a macro and put the macro into my template it works well but then i can't change the mailfrom.
this is how i implemented it:
It just ignored my lay-out. Now i implemented it like this:
Yet i don't know where i can change the Mailfrom. Also if I look into the macro i can't find the mailfrom
Ok, according to the package page MailFrom="[email protected]" should be added as a parameter. But the example provided is using an older way of doing it. If I'm not mistaken I think you could add the parameter like this...
@Umbraco.RenderMacro("Contactform", MailFrom: [email protected])
Does that work?
No, it doesn't work.Even if i set the mail adress like this:
@Umbraco.RenderMacro("Contactform",MailFrom: "[email protected].com")
Also when i add MailFrom: it stays black the text tho
Sorry, think I got the Razor syntaxes and possibilities mixed up. I'm not sure how you can make it work. But hopefully some of the other bright minds in here can.
i hope so cus i need to get it fixed by tomorrow morning,
Do you know how i can restore my migration from sql CE to server SQL?
I tried it but it went wrong, now i can't login on umbraco anymore
I isn't solved yet. Because the macro is written in DynamicNode razor. And umbraco 7 doesn't support that. You know how i can solve this?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted