Avatar of doctorbill
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

php variable

I am trying to set a variable to attach to a phpmailer form

This is the variable:
$imageattach = "images/Cards.jpg";

php mailer variable:
$mail->AddAttachment = $imageattach ;

This does not attach the image

Can I have the correct syntax please
PHPWeb DevelopmentApache Web Server

Avatar of undefined
Last Comment

8/22/2022 - Mon