Thing is they receive all the other emails just fine when I send it from that email address via outlook. The webserver its being sent from is a rackspace one.
That is the thing, how many of these people don't realise they are using AI? If they use Google Search they have no choice but to use AI. So yes, maybe half of American adults do use and I expect a lot of Uk adults do to, but I bet most of them don't realise it.
Myself, i avoid the rubbish.
Question
Axel
Hi all,
I thought I'd be smart and write a form page which would automatically construct an email to send to the specified client.
<?php ini_set('display_errors','On'); error_reporting(E_ALL); $emailto = $_POST['emailto']; $emailfrom = $_POST['emailfrom']; $subject = $_POST['subject']; $name = $_POST['name']; $date = $_POST['date']; $time = $_POST['time']; $location = $_POST['location']; $maplink = $_POST['maplink']; $screenername = $_POST['screenername']; $room = $_POST['room']; $yourname = $_POST['yourname']; $headers = 'From: '.$emailfrom. "\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $body = $_POST['emailbody']; mail($emailto, $subject, $body, $headers); echo "<h3 style='font-size: 20px;'>Success.</h3>"; echo "<p>The email has been successfully sent.</p>"; ?>the $emailfrom variable is typically set to one of three company domains, for example:
Thing is they receive all the other emails just fine when I send it from that email address via outlook. The webserver its being sent from is a rackspace one.
Cheers,
Alex
Link to comment
https://www.neowin.net/forum/topic/1154312-php-emailer-landing-in-client-spam/Share on other sites
1 answer to this question
Recommended Posts