Mask Sender Address in wp_mail() in WordPress [closed]

See the documentation:

To set the “From:” email address to something other than the WordPress
default sender, or to add “Cc:” and/or “Bcc:” recipients, you must use
the $headers argument.

$headers can be a string or an array, but it may be easiest to use in
the array form. To use it, push a string onto the array, starting with
“From:”, “Bcc:” or “Cc:” (note the use of the “:”), followed by a
valid email address.

This example from the User Contributed Notes shows you how to use it:

<?php
// assumes $to, $subject, $message have already been defined earlier...

$headers[] = 'From: Me Myself <[email protected]>';
$headers[] = 'Cc: John Q Codex <[email protected]>';
$headers[] = 'Cc: [email protected]'; // note you can just use a simple email address

wp_mail( $to, $subject, $message, $headers );
?>

As you can see, you can set the From name and address by adding 'From: Me Myself <[email protected]>' to the $headers argument of wp_mail().