Scusa, ma il limite di un mega dove l'hai visto?
Guardando la doc non sembra ci sia questo limite:
Il controllo che puoi fare èAddAttachment($path, $name = "", $encoding = "base64",
$type = "application/octet-stream") string $path
string $name
string $encoding
string $type Adds an attachment from a path on the filesystem. Returns false if the file could not be found or accessed.
codice:$phpmailer = new Phpmailer(); if($phpmailer->AddAttachment(.....)) { echo "OK"; } else { echo "C'è qualche problema nei path?"; }![]()