PHP Contact Form with PDF attachment sent using PHP Mailer

  Рет қаралды 25,292

Mr Digital

Mr Digital

Күн бұрын

Пікірлер: 48
@deankennedy4006
@deankennedy4006 4 жыл бұрын
Thanks! 1st PHPMailer tutorial I've seen that actually explains this in a way someone new to this can understand
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Thank you mate, really appreciate that!
@djsaquib
@djsaquib 2 жыл бұрын
Fabulous. Can we arrange this data as in table and put inside the pdf? Do we still need PDFK for this?
@mrdigitalau
@mrdigitalau 2 жыл бұрын
I don't 100% understand what you mean arrange the data as in table.. can you elaborate? Thanks!
@gundamizer4352
@gundamizer4352 3 жыл бұрын
So HELPFUL! You are a lifesaver. Thank you
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Glad it helped!
@mrbay8816
@mrbay8816 3 жыл бұрын
Awesome , thank you . Really appreciate your help.
@mrdigitalau
@mrdigitalau 2 жыл бұрын
You're welcome!
@brianpaulkizitoyawe3906
@brianpaulkizitoyawe3906 4 жыл бұрын
Lovely tutorial . .works perfectly .
@josephmbote4167
@josephmbote4167 3 жыл бұрын
Thank you , buddy .. you helped me in this
@mrdigitalau
@mrdigitalau 2 жыл бұрын
No problem 👍
@MM-uu4hl
@MM-uu4hl 3 жыл бұрын
GREAT! Thanks so much for this video
@mrdigitalau
@mrdigitalau 2 жыл бұрын
You're very welcome!
@janpieremindermann1942
@janpieremindermann1942 Жыл бұрын
What xampp and php version did you use?
@prasadreddy1849
@prasadreddy1849 2 жыл бұрын
How to give different stylings to the mail subject and pdf please help
@yannik8271
@yannik8271 3 жыл бұрын
So helpful man!:) Thank you
@poojanmehta8217
@poojanmehta8217 4 жыл бұрын
super quality content! i am very happy
@kanishkkhetarpal92
@kanishkkhetarpal92 5 жыл бұрын
Hi I'm using ajax post for generating pdf everything thing is working, I'm getting success response and even static pdf works well but with ajax post is not working
@josealejandrosanchez4180
@josealejandrosanchez4180 5 жыл бұрын
Excellent material
@pedronebrazil
@pedronebrazil 3 жыл бұрын
Thank you very much!
@mrdigitalau
@mrdigitalau 2 жыл бұрын
You're welcome!
@johnny2598
@johnny2598 3 жыл бұрын
How to send custom attachment ? I dont need the generation part
@zainalariffin9084
@zainalariffin9084 3 жыл бұрын
Hi, how do I send it from a legit email? such as Gmail and whatnot. As in the tutorial, it's through mailtrap.
@yvananda
@yvananda 3 жыл бұрын
Hello again, for some reason, the redirect header does not work. Here is error message Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64\www\WampDonation\vendor\phpmailer\phpmailer\src\SMTP.php:281) in C:\wamp64\www\WampDonation\mailpdf.php on line 90. Any clue?
@yvananda
@yvananda 3 жыл бұрын
I found it. I needed to put SMTPDebug to false
@alltimehasan
@alltimehasan 4 жыл бұрын
You are just awesome!
@yvananda
@yvananda 3 жыл бұрын
Hello and thank you for this video. It is clear and simple. I will make it a try. If sensible informations (bank account, credit card #) are in the form, is it secure ? Do I need to do encryption ? Thanks for tipping me.
@mrdigitalau
@mrdigitalau 3 жыл бұрын
Hi Yvan, you will definitely need an SSL - but to be honest capturing card details like that is not PCI Compliant so it would be risky for you to do it this way.
@yvananda
@yvananda 3 жыл бұрын
@@mrdigitalau Thank you very much. I will look into the PCI Compliant information more deeply. As I understand, because I do not store information, it may be easier to do. Btw, I was able to make both pages work in the same day ! Very good job done !
@minitimgek4945
@minitimgek4945 3 жыл бұрын
it works! thk u s m bro!
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Welcome 👍
@funandtechtogether
@funandtechtogether 5 жыл бұрын
Your style of giving tutorials is really good. Thanks very much. Can you please also tell how to format textarea inputs in the email body and also in the pdf? Rename attachment to fname.pdf?
@rexxy003
@rexxy003 5 жыл бұрын
Nice! Thanks! Could you has a pdf template so that the form inputs being inserted on the allocated space from pdf template on the server and then send it to email like you did?
@mrdigitalau
@mrdigitalau 5 жыл бұрын
Hi Jose. I have done this before, but it is a bit more complex because you need to install something called PDFTK onto the server you are using. PDFK is a command line tool which can help you fill pdfs. You also need to create a PDF with fillable areas. It will be a bit of a tough one to put in a tutorial because everyone's server is different.
@homepoyya2945
@homepoyya2945 4 жыл бұрын
Dear Sir, Can you explain how to create pdf submission details of inquire and sending only data to mail.
@mainoraguilar181
@mainoraguilar181 4 жыл бұрын
Hey buddy, thanks for the video, can you please explain to me what should I change to add another attachment? I mean, my form has an input File and I want to send both. addStringAttachment is not working to send the input file. Thanks buddy.
@mrdigitalau
@mrdigitalau 4 жыл бұрын
Hi Mainor. I might need to do another video to show this.
@mrdigitalau
@mrdigitalau 5 жыл бұрын
Watch this video first kzbin.info/www/bejne/g5-soaZujshrebs - this shows you the initial creation of the form and PDF functionality
@shubhamdurralrawat4727
@shubhamdurralrawat4727 5 жыл бұрын
How to add image in this
@zakblacki
@zakblacki 3 жыл бұрын
Git source code ?
@tech4pm
@tech4pm 4 жыл бұрын
Can you send source code?
@ranamejri1693
@ranamejri1693 5 жыл бұрын
can you send the code source please?
@mrtshepo4216
@mrtshepo4216 4 жыл бұрын
Thanks bra....
@chudharytayyabjaved890
@chudharytayyabjaved890 4 жыл бұрын
i need source code sir
@AyhamKamell
@AyhamKamell 3 жыл бұрын
GREAT!
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Thank you!
How To Create a PDF using PHP - Simple Tutorial (2019)
18:40
Mr Digital
Рет қаралды 131 М.
Working Contact Form in PHP with Validation & Email Sending
22:55
FollowAndrew
Рет қаралды 185 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Create a PDF and Send by Email in PHP
20:57
Webslesson
Рет қаралды 66 М.
Generate a PDF with PHP
19:17
Dave Hollingworth
Рет қаралды 65 М.
PHP Tutorial: How To Send Email From Localhost Using PHPMailer
23:00
Senaid Bacinovic
Рет қаралды 61 М.
How to Send Email Using PHPMailer (2022) & Gmail SMTP
14:02
Bro Experts
Рет қаралды 95 М.
Create PDF files from HTML using PHP and mPDF | Quick programming tutorial
29:33
Create a PHP Contact Form - Simple, Easy Tutorial (Part 1)
23:32
How to send an SMS with VueJS and PHP
1:14:39
Mr Digital
Рет қаралды 4,1 М.
Creating a gallery section with ACF Gallery field type
7:43
BricksUltimate
Рет қаралды 2,3 М.