Support » Plugin: WP Offload SES Lite » Multi (B)CC support

  • Hello,

    Today I found out the plugin does not support the usage of a multi (B)CC header.
    i.e. the header below will result into a faulty header exception and will be ignored.


    As the plugin is closed off with private functions / attributes and a lack of hooks there seems to be no other way to fix this than forking the plugin. Can you please consider fixing this issue in the core plugin by making the following change?


    private function header_cc( $content, $type = 'cc' ) {
    	$recipients = $this->maybe_convert_to_array( $content );
    	foreach ( $recipients as $recipient ) {
    		$recipient = $this->maybe_split_recipient( $recipient );
    		try {
    			switch ( $type ) {
    				case 'cc':
    					$this->mail->addCC( $recipient['email'], $recipient['name'] );
    				case 'bcc':
    					$this->mail->addBCC( $recipient['email'], $recipient['name'] );
    		} catch ( \Exception $e ) {

    Eager to hear from you,

    With kind regards

    • This topic was modified 1 year, 10 months ago by fperdaan.
  • The topic ‘Multi (B)CC support’ is closed to new replies.