When I send email through php (phpmailer), I can configure all email parameters, however, I can check that I can do something like this:
<?php
// Excerto do código
$mail = new PHPMailer;
$mail->IsMail();
$mail->IsHTML(true);
$mail->isSMTP();
$mail->SMTPAuth = true;
$mail->Host = 'mail.meudominio.pt';
$mail->Username = 'valid_user@meudominio.pt';
$mail->Password = 'abc123';
$mail->setFrom('emaildaminhavizinha@sapo.pt', 'pomba gira');
$mail->addReplyTo('outroemailqualquer@yahoo.com', 'yahoo guy');
?>
With this, I can send an authenticated email, to anyone, making me go through a 3rd person.
Issue: - Is it possible for my server to force the FROM to be the same as the email that authenticates?