Developer forum

Forum » Development » Send mail from template?

Send mail from template?

Dmitrij Jazel
Reply
 Hello everyone,

I have a question here, I have an area in the website where I want to add a small survey, and than email the content of the survey to the owner.
In order to achieve something like this normally I would use a asp.net form in custom module and do whatever .net allows me to.

But the solution is standard and all I can do is basically use standard template with dwtags.

So I was wondering if there is any way that I could have a standard template, add input fields with standard html, collect data (with javascript I would expect) and than send values via email. Is this possible at all in DW without any custom modules?
Or maybe there is a way to add custom crafted survey form in *.aspx file, place it somewhere in the /File folder lets say, and than be able to navigate there via "href" link for example.

Kind regards,
Dmitrij

Replies

 
David Matheson
Reply

Hi Dmitrij,

Is there any reason why you cannot use the Dynamicweb Forms (DW7 version) module combined with the Datalists module to build your survey?
 

David
 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer
Take a look in your solutions \Files\Templates\Formmailer\Documentation.txt file.

You might be able to use that one.

Votes for this answer: 0
 
Dmitrij Jazel
Reply
Hi guys,

Thanks for quick response, I will try that and will come back to you later.

Dmitrij
 
Dmitrij Jazel
Reply
 Hi again,

I got it working! :) Thanks alot Nicolai!
Works like a charm...

Kind regards,
Dmitrij

 

You must be logged in to post in the forum