Unable to send email from my website

Sir or Ms,

I have enabled Sendmail function under Settings/General. However, there is no clear way to compose and send an email from my website. I tried using the contact page but I get an error notice from the website.
Please explain step by step how to set up email on my website. Thanks.

1 Like

Can we see that error?

mail(to,subject,message,headers,parameters);

<?php // the message $msg = "First line of text\nSecond line of text"; // use wordwrap() if lines are longer than 70 characters $msg = wordwrap($msg,70); // send email mail("someone@example.com","My subject",$msg); ?>

Error is:

amk-disaster-recovery-services.ml says:
Form configuration error.

Where do I insert the code you sent?

mail(to,subject,message,headers,parameters);

<?php // the message $msg = "First line of text\nSecond line of text"; // use wordwrap() if lines are longer than 70 characters $msg = wordwrap($msg,70); // send email mail("someone@example.com","My subject",$msg); ?>

Repeat: Where do I insert the code you sent?

try any other phpmail script available on internet.