send email using xform

Vote:
 

Hi

i have developed an x-form(having username, mail content,submit & cancel buttons) to send Email. On the click of submit i need to send mail to a specific mail address (where the to Mailid should be taken from a dynamic property) and on click of Cancel should redirect to a specific page. how could i do this, rather giving the from & to mailids in Submit button property?

Thanks,

Nishath

#24648
Oct 03, 2008 8:58
Vote:
 

Hi,

There is a code sample for sending custom emails using xforms which you could customize to fit your need I think.

http://world.episerver.com/en/Download/Code-Samples/XForms/Send-custom-email/

#24650
Oct 03, 2008 9:40
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.