Dovrei inviare con PHPMailer una mail tramite PEC Aruba, guardando su internet ho visto che dal momento che viene fatta l'autenticazione SSL all'SMTP non ci sono problemi, ma PHPMailer mi restituisce il seguente errore:
SMTP Error: The following recipients failed: xyz @ abc.it
SMTP server error: 5.7.1 : Sender address rejected: not owned by user xyz @ pec.it
Come parametri ho passato
Hostname: smtps.pec.aruba.it
Porta 465
Sicurezza ssl
E username e password
Dal momento che qualunque client (Outlook thunderbird ecc) invia email tramite smtp PEC non penso che dovrebbero esserci problemi.
Grazie