• I would like to make a request in your next update. There are mail services out there now that are requiring the from address to be the same domain as the website domain and then the reply to address as the person submitting the form. Your current setup has the person filling out the form as both. This is causing the emails to be blocked for me as my requirements are that the from address is the same as my domain. I would like to request your change this in your next update. I had to go into your “class-job-notifications.php” file and manually modify the from address to the same as my domain until you get this fixed an pushed in another update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • this, i have the same problem! And i have yet to find out how/where to manually edit the class-jobs-notifications.php

    Thread Starter fluiditystudio

    (@fluiditystudio)

    For the time being, go into the plugin folder plugins/job-postings/include/class-job-notifications.php

    Then find this function below and where the variable “$no_reply =” change the value to your domain email.

    public static function getHeaders( $contact_email, $job_id, $name = 'Applicant' ){
    		$contact_email = explode(',', $contact_email);
    		$contact_email = $contact_email[0];
    		$no_reply		= 'info@yourdomainhere.com';
    
    		$from_email	= apply_filters('job-postings/from_email', $no_reply, $job_id);
    		$from_name 	= apply_filters('job-postings/from_name', $name, $job_id);
    
    		$headers = "From: ".$from_name." < ".$from_email." >\n";
    		$headers .= "X-Sender: ".$contact_email."\n";
    		$headers .= 'X-Mailer: PHP/' . phpversion();
    		$headers .= "X-Priority: 1\n"; // Urgent message!
    		$headers .= "Reply-To: ".$from_name." < ".$from_email." >\n";
    		$headers .= "MIME-Version: 1.0\n";
    		$headers .= "Content-Type: text/html; charset=UTF-8\n";
    
    		return $headers;
    	}

    Thanks for your reply, my file looked a bit different but i just changed the header string construction to use our email als from and x-sender which seemed to do the trick to

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Emails from applications getting blocked for from address’ is closed to new replies.