Support » Plugin: Jobs for WordPress » “From” email address

  • Resolved graphicbob

    (@graphicbob)


    I would like to change the ‘From’ address of the emails that are being sent from this plugin. Currently the emails are sent ‘From’ the applicant’s email address. This won’t work with my clients mail server.

    Background info: I use ‘Post SMTP’ and all other forms send with no issue. Other forms allow me to set the ‘From’ address as no-repy@. The client’s external mail server has a lot of security. They set up a no-reply@ account and supplied credentials. Without that, the mail server wouldn’t send the emails generated from the site. When looking at ‘Post SMTP’ logs, it is clear that all emails with a ‘From’ address of no-reply@ are sent successfully and all the emails from ‘Jobs for WordPress’ are rejected and have a ‘From’ address of the applicant filling out the form.

    Please let me know where I can set the ‘From’ address. If there is no way, I will have to find a different plug in. That would be unfortunate, because this on worked well until their IT company altered the mail server’s security settings which stopped the emails from sending.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BlueGlass

    (@blueglassinteractive)

    Hi @graphicbob

    You can try 2 hooks plugin has, use like this in your theme’s function.php:

    add_filter('job-postings/from_email', function($contact_email, $job_id){
    // $contact_email = 'no-reply@yourdomain.com';
    return: $contact_email;
    }, 10, 2);
    
    add_filter('job-postings/from_name', function($name, $job_id){
    // $name = 'No Reply';
    return: $name;
    }, 10, 2);

    Br,

    Plugin Author BlueGlass

    (@blueglassinteractive)

    @graphicbob

    Please also update the plugin, as we added support to WP 5.5

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“From” email address’ is closed to new replies.