To be clear – this did NOT happen before the switch to external mail client. So there is no hidden CC etc.
Previously, it was simply set up using POP3 and gmail. (no issues)
Since connecting via the API – that’s when this began. (able to see all site emails sent).
I’ve found a snippet, that I’ll explore with. But I’m unsure this will even work now as no emails are sent/received via the WP site (all externally).. stupid spam forced us to move to a different setup.
<?php
// Function to change email address
add_filter( 'wp_mail_from', 'wpb_sender_email' );
function wpb_sender_email( $original_email_address ) {
return 'contact@lapakibuk.com';
}
// Function to change sender name
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
function wpb_sender_name( $original_email_from ) {
return 'Mr Sultrio';
}