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...
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
Changing mail adress
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. Maxim
Hi Maxim
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?
/Jan
Hi jan,
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
Hi Maxim
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...
Does that work?
/Jan
No, it doesn't work.
Even if i set the mail adress like this:
Also when i add MailFrom: it stays black the text tho
Hi Maxim
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.
/Jan
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
hi,
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...