“phpmailer addAttachment” Code-Antworten

Phpmailer Senden Sie den Anhang

$mail->AddAttachment($_FILES['uploaded_file']['tmp_name'], $_FILES['uploaded_file']['name']);
SeriousMonk

phpmailer addAttachment

//Put this line anywhere after $mail = new PHPMailer(); but before $mail->Send()
//Ensure that you use the full file path to the document
$mail->AddAttachment('/var/www/html/include/test.pdf');
Just Make It Global

Ähnliche Antworten wie “phpmailer addAttachment”

Fragen ähnlich wie “phpmailer addAttachment”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen