开发者

PHP email not sending in some cases [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 9 years ago.

Improve this question

These options didnt work

  • Noshow_interview
  • Book_Training

All other option work well

just wondering if anyone sees an error.

  if($status == 'Uncontactable'){
            $html= "Dear $d[1] $d[2],<br><br>
<p>Thank you for your recent job application We have tried contacting you to arrange an appointment but have been unsuccessful. Please call us on</p>
<br>

Kind regards,<br><br> <br>";}
        //else if($status == 'NoShow_Training')
        if($status == 'NoShow_Training'){
            $html= "Dear $d[1] $d[2],<br><br>
<p>Our records indicate that you were booked in for training on $d[13] at $d[16] and did not turn up for training.<br>
Please contact me onu. </p>
<br>

Regards,<br><br><br>";}
        //else if($status == "NoShow_Interview")
        if($status == 'NoShow_Interview'){
        //if($status === "Test"){
            echo "--------";
            echo $status;
            echo "--------";
            $html= "Dear $d[1] $d[2],<br><br>
<p>Thank you for your recent job application at
<br>
Our records indicate that you were booked in for an interview with us on $d[10] at $d[11]. However you did not turn up for the interview. If you are still looking for work and would like to arrange an a开发者_如何学编程lternate appointment please contact met </p>
<br>

Regards,<br><br><br>";}

//      else if($status == 'Booked_Interview')
        if($status == 'Booked_Interview'){
            $html= "Hi $d[1] $d[2],<br><br>
<p>We're looking forward to meeting with you on $d[10] at $d[11].</p>

<p>We will attend to you.</p>
<br>

Kind regards,<br><br><br>";}
//      else if($status == 'Booked_Training')
        if($status == 'Booked_Training'){
            $html= "Hi $d[1] $d[2],<br><br>
<p><b>Congratulations</b> on your successful interview with.</p>

<p>We are excited to have you as part of our team.</p>

<p>Training is scheduled for the $d[13] at $d[16], we look forward to seeing you then.</p>

<p>If you have any further queries, please do not hesitate to contact me on (03) 4514 or email on at admin@email.com.au.</p>


<br>
Kind regards,<br><br><br>";}


NoShow_Interview has a capital S in it, make sure you are referencing this as PHP is case sensitive.

And you mentioned Book_Training does not work, but in the code you have it as Booked_Training .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜