Subject line not working

2 replies · opened Aug 7, 2018

HHOMEMAKERS_2015Aug 7, 2018

Hi there,

The subject line has never worked on your template on sendemail.php
I have only noticed it now. Your default subject of :

$subject = isset($subject) ? $subject : 'New Message From Contact Form';

does not display. Please can you let me know what needs to be fixed in order for this to pull through. I have not edited any code on this file besides adding a 'From' email address and a 'Name'

HHOMEMAKERS_2015Aug 13, 2018

Hi there,

Please can you respond to this query. This has now become an urgent issue.

Thanks

SSemicolon WebSTAFFAug 16, 2018

Hello,

As discussed on the Comments Section before, we have checked out your Live URL and while you do not appear to be using the Subject Input on your Contact Form, the Form's Email Subject should be processed from within the include/sendemail.php File. Consider replacing the following code in the include/sendemail.php File:

$subject = isset($subject) ? $subject : 'New Message From Contact Form';

with:

$subject = $subject ? $subject : 'New Message From Contact Form';

This should definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

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