| @@ -142,9 +142,9 @@ | ||
| 142 | 142 | |
| 143 | 143 | $sent = wp_mail( $to, $subject, $body, $headers ); |
| 144 | 144 | |
| 145 | 145 | if ( ! $sent ) { |
| 146 | - error_log( sprintf( 'WPbot Automator - send_email failed. to=%s from=%s reply_to=%s headers=%s', is_array( $to ) ? implode( ',', $to ) : $to, $from_email, $reply_to, wp_json_encode( $headers ) ) ); | |
| 146 | + //error_log( sprintf( 'WPbot Automator - send_email failed. to=%s from=%s reply_to=%s headers=%s', is_array( $to ) ? implode( ',', $to ) : $to, $from_email, $reply_to, wp_json_encode( $headers ) ) ); | |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | if ( $sent ) { |
| 150 | 150 | return array( |