Note that there are some explanatory texts on larger screens.

plurals
  1. POMail not receiving using PHP
    text
    copied!<p>This is my mailing code:</p> <pre><code> &lt;?php error_reporting(E_ALL); $user_subject = "Ticket - Budget Notification"; $user_headers = "From: mariyadavis90@gmail.com\r\n"; $user_headers .= "MIME-Version: 1.0\r\n"; $user_headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $user_part = '&lt;html&gt;&lt;body&gt;'; $user_part .= '&lt;div style="background-color: #EEEEEE;border-bottom: 1px solid #DCDCDC;padding: 10px 10px 20px;width: 500px; float:left;font-size:12px;font-weight:bold;"&gt;'; $user_part1 = '&lt;div style="width:500px;"&gt;'; $user_part1 .= '&lt;div style="width:500px;background-color:#eeeeee;padding: 10px 0 20px;border-bottom:1px solid #dcdcdc;"&gt;'; $user_part1 .= '&lt;div style="float:left;width:150px;color:#666666;margin-left:20px;font-size:12px;font-weight:bold;"&gt;'; $user_part1 .= '&lt;/div&gt;&lt;/div&gt;'; $user_part1 .= '&lt;div style="width:450px;background-color:#eeeeee;padding: 10px 0 20px;border-bottom:1px solid #dcdcdc; height:auto; float:left;font-size:12px;margin-left:50px; font-weight:bold;"&gt;'; $user_part3 = '&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'; $user_part3 .= '&lt;/body&gt;&lt;/html&gt;'; $user_center_part1 = ''; $user_center_part = 'The following Tickets are reached its budget ,'; $user_center_part2='&lt;div style="float:left;width:auto;color:#000000;font-size:12px;margin-left:75px; font-weight:bold; height:auto; margin-top:10px;"&gt;Ticket #10 reached 100% of its budget&lt;/div&gt;'; $user_to = 'galtech.staffs@gmail.com'; if($user_to){ $user_center_part1 = 'Dear Admin ,'; $user_message = $user_part.$user_center_part1.$user_part1.$user_center_part.$user_center_part2.$user_part3; if(mail($user_to, $user_subject, $user_message, $user_headers)) { echo "Mail Send Successfully"; }else{ echo "Mail Not Send Successfully"; } } ?&gt; </code></pre> <p>When I using this mailing code I can't get any mail in my account. What is the problem in my code? Nothing will be received in the account. It displays <code>Mail Sent Successfully</code> every time.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload