Home Forums Order Export Scheduler and Logger how do I change the from email address wordpress@

This topic contains 2 replies, has 2 voices, and was last updated by Ankit Ankit 3 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2202

    bas60
    Participant

    All my Order emails come from email address I set in email settings.

    this plug in is ignoring the setting.
    where do I configure from address

    #2206
    Ankit
    Ankit
    Keymaster

    Hi,

    I hope this question is regarding Scheduler and Logger plugin, could you please post this on plugin’s respective support forum? This forum is for Add-on plugin only.

    Forum: http://sharethingz.com/support/forum/wsoe-scheduler-logger/

    Regards

    • This reply was modified 3 years, 3 months ago by Ankit Ankit.
    #2210
    Ankit
    Ankit
    Keymaster

    Hi,

    I have moved this question to another forum.

    You can change from address with following code snippet.

    function wsoe_change_from_address( $headers ) {
    	
    	$headers = 'From: My Name <myname@example.com>' . "\r\n";
    	
    	return $headers;
    	
    }
    add_filter( 'wsoe_scheduler_email_headers', 'wsoe_change_from_address' );

    For more information on wp_mail function (which this plugin uses for mailing), please refer: https://codex.wordpress.org/Function_Reference/wp_mail#Using_.24headers_To_Set_.22From:.22.2C_.22Cc:.22_and_.22Bcc:.22_Parameters

    Hope this helps.

    Regards
    Ankit G.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘how do I change the from email address wordpress@’ is closed to new replies.