Hi Karl,
Do you have a solution for the attachment files?
I want to make another form for different purpose.
Happy New Year 2016!
X3 Photo Gallery Support Forums
// ATTACHMENTS AND IMAGES
//$mail->addAttachment('images/phpmailer_mini.png');
//$mail->addAttachment('/var/tmp/file.tar.gz');
//$mail->addAttachment('/tmp/image.jpg', 'new.jpg');
//$mail->AddEmbeddedImage('logo.jpg', 'logoimg', 'logo.jpg'); // attach file logo.jpg, and later link to it using identfier logoimg
//$mail->Body = "<h1>Test 1 of PHPMailer html</h1><p>This is a test picture: <img src=\"cid:logoimg\" /></p>";
It's now inside x3.api.php.GGANG wrote:In V.23.0 I could not find x3.mailer.php
If you just want to attach a static image to every email, you can easily edit the code.GGANG wrote:I want to make a form with attachment file e.g. jpg, png
How to add the code and a content web page?
How are they going to attach a file without uploading an image? There is no "attach image to email" from a web form ... It involves uploading an image, so the emailer can attach the uploaded image to the email.GGANG wrote:No, I don't want to add upload files.
I want attachment file like the email client.
The purpose is for someone attach an image file of the payment slip to confirm their payment. (Bank transfer)