Contact form mail

3 replies · opened Jun 1, 2016

AavgenvatoJun 1, 2016

Hi dear I want to know how I can have email from contact form width indention.
In sendemail.php I have this code:
$name = isset($name) ? "Name: $name</ br></ br>" : '';
$email = isset($email) ? "Email: $email<br><br>" : '';
$phone = isset($phone) ? "Phone: $phone<br><br>" : '';
$service = isset($service) ? "Service: $service<br><br>" : '';
$message = isset($message) ? "Message: $message<br><br>" : '';
But when I receive email I see all in a unic row. The br tag not work.
Thank you

SSemicolon WebSTAFFJun 3, 2016

Hello,

Can you please add the following code just after the $mail = new PHPMailer(); Line in the include/sendemail.php File:

$mail->IsHTML(true);

This should fix the issue. Let us know if we can help you with anything else or if you find any further issues.

AavgenvatoJun 6, 2016

I'm sorry but doesn't work.
It's all in a unique row

SSemicolon WebSTAFFJun 7, 2016

Hello,

Can you please provide us with an Example or a Screenshot on how would you like the Email Response to look like so that we can provide you with a more accurate code for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard