Google SMTP Error: Could not authenticate
问题 The following code does not work once i put it on the server, I have similar code working on my local environment and it works perfectly, any ideas? edit: i did set my gmail setting to "less secure" <?php $setid = $_POST['setid']; $promo = $_POST['promo']; echo "Good Sir, your set ID is ".$setid.", and you are eligible for the following deal:"; echo "<br><br>"; echo $promo; $message= "Good Sir, your set ID is ".$setid.", and you are eligible for the following deal:"."<br><br>".$promo; require