Plugin Directory

Changeset 2053583


Ignore:
Timestamp:
03/19/2019 06:15:14 PM (7 years ago)
Author:
kbjohnson90
Message:

Hotfix reply_to.

Location:
sendwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sendwp/tags/1.0.0/includes/class.mailer.php

    r2053508 r2053583  
    7979        }
    8080
     81        if($this->getReplyToAddresses()){
     82            $reply_to = reset($this->getReplyToAddresses());
     83            $args['body']['reply_to'] = reset($reply_to);
     84        }
     85
    8186        if( ! empty( $cc_emails ) ) {
    8287            $args[ 'body' ][ 'cc' ] = json_encode( (array) $cc_emails );
  • sendwp/trunk/includes/class.mailer.php

    r2053508 r2053583  
    7979        }
    8080
     81        if($this->getReplyToAddresses()){
     82            $reply_to = reset($this->getReplyToAddresses());
     83            $args['body']['reply_to'] = reset($reply_to);
     84        }
     85
    8186        if( ! empty( $cc_emails ) ) {
    8287            $args[ 'body' ][ 'cc' ] = json_encode( (array) $cc_emails );
Note: See TracChangeset for help on using the changeset viewer.