Try our conversational search powered by Generative AI!

Can we use Mailer.php in Episerver

Vote:
 

Hi All,

I have contact-us page(Episerver page). I am developing this with html so in this i need to configure email so i used mailer.php for sending but it's not working. can anybody help me?

like below i am calling, 

Thanks&Regards,

Uday.

#180089
Edited, Jun 29, 2017 14:38
Vote:
 

If Epi is setup correctly you should have SMTP server settings configured already.

So you could just add a Controller or Web Form that you use that sends the e-mail from the form.

https://weblogs.asp.net/scottgu/432854

But typically a contact form can made to work using both the built in XForm support or the newer EPiServer.Forms so my advice would be to look into that and adding it to your contact-us page type instead.

#180181
Jul 01, 2017 0:13
* 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.