HTML button submit to receive an email

Khathun s asked on January 25, 2017 06:49

Hi,

I have a HTML floating form, basically it is contact us form and it is in a template after submitting it i need to send a mail to specific email id, Please let me know is their any way to do it, I don't want to use kentico form.

Recent Answers


Anton Grekhovodov answered on January 25, 2017 07:27

Hi Khathun,

There is an EmailSender class (CMS.EmailEngine namespace). This class has some methods for sending emails, so you can use them.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 25, 2017 14:23

Any particular reason you don't want to use the out of the box functionality? This provides all the functionality you need without writing any code.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.