PHP Contact Form with PDF attachment sent using PHP Mailer

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

Mr Digital

Mr Digital

Күн бұрын

Пікірлер: 50
@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 Жыл бұрын
Thank you mate, really appreciate that!
@djsaquib
@djsaquib Жыл бұрын
Fabulous. Can we arrange this data as in table and put inside the pdf? Do we still need PDFK for this?
@mrdigitalau
@mrdigitalau Жыл бұрын
I don't 100% understand what you mean arrange the data as in table.. can you elaborate? Thanks!
@prasadreddy1849
@prasadreddy1849 2 жыл бұрын
How to give different stylings to the mail subject and pdf please help
@gundamizer4352
@gundamizer4352 3 жыл бұрын
So HELPFUL! You are a lifesaver. Thank you
@mrdigitalau
@mrdigitalau Жыл бұрын
Glad it helped!
@brianpaulkizitoyawe3906
@brianpaulkizitoyawe3906 4 жыл бұрын
Lovely tutorial . .works perfectly .
@mrbay8816
@mrbay8816 2 жыл бұрын
Awesome , thank you . Really appreciate your help.
@mrdigitalau
@mrdigitalau Жыл бұрын
You're welcome!
@janpieremindermann1942
@janpieremindermann1942 10 ай бұрын
What xampp and php version did you use?
@abhishekpandey817
@abhishekpandey817 3 жыл бұрын
Thank you, buddy...you are saviour!!!
@mrdigitalau
@mrdigitalau Жыл бұрын
Any time!
@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?
@kanishkkhetarpal92
@kanishkkhetarpal92 4 жыл бұрын
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
@MM-uu4hl
@MM-uu4hl 3 жыл бұрын
GREAT! Thanks so much for this video
@mrdigitalau
@mrdigitalau Жыл бұрын
You're very welcome!
@poojanmehta8217
@poojanmehta8217 4 жыл бұрын
super quality content! i am very happy
@josephmbote4167
@josephmbote4167 3 жыл бұрын
Thank you , buddy .. you helped me in this
@mrdigitalau
@mrdigitalau Жыл бұрын
No problem 👍
@johnny2598
@johnny2598 3 жыл бұрын
How to send custom attachment ? I dont need the generation part
@yannik8271
@yannik8271 3 жыл бұрын
So helpful man!:) Thank you
@homepoyya2945
@homepoyya2945 4 жыл бұрын
Dear Sir, Can you explain how to create pdf submission details of inquire and sending only data to mail.
@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.
@pedronebrazil
@pedronebrazil 3 жыл бұрын
Thank you very much!
@mrdigitalau
@mrdigitalau Жыл бұрын
You're welcome!
@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.
@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 !
@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
@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.
@minitimgek4945
@minitimgek4945 3 жыл бұрын
it works! thk u s m bro!
@mrdigitalau
@mrdigitalau Жыл бұрын
Welcome 👍
@zakblacki
@zakblacki 2 жыл бұрын
Git source code ?
@shubhamdurralrawat4727
@shubhamdurralrawat4727 5 жыл бұрын
How to add image in this
@AyhamKamell
@AyhamKamell 3 жыл бұрын
GREAT!
@mrdigitalau
@mrdigitalau Жыл бұрын
Thank you!
@ranamejri1693
@ranamejri1693 5 жыл бұрын
can you send the code source please?
@tech4pm
@tech4pm 4 жыл бұрын
Can you send source code?
@mrtshepo4216
@mrtshepo4216 3 жыл бұрын
Thanks bra....
@chudharytayyabjaved890
@chudharytayyabjaved890 4 жыл бұрын
i need source code sir
@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
Create a PHP Contact Form - Simple, Easy Tutorial (Part 1)
23:32
How To Create a PDF using PHP - Simple Tutorial (2019)
18:40
Mr Digital
Рет қаралды 130 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 18 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 7 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 127 МЛН
Send email with PHP | Create a Working Contact Form Using PHP
10:18
Dave Hollingworth
Рет қаралды 138 М.
Create a PDF and Send by Email in PHP
20:57
Webslesson
Рет қаралды 66 М.
Working Contact Form in PHP with Validation & Email Sending
22:55
FollowAndrew
Рет қаралды 184 М.
Generate a PDF with PHP
19:17
Dave Hollingworth
Рет қаралды 61 М.
PHP Tutorial: How To Send Email From Localhost Using PHPMailer
23:00
Senaid Bacinovic
Рет қаралды 61 М.
Make PDF report in PHP with TCPDF | TCPDF Tutorial #1
15:39
GemaCode
Рет қаралды 71 М.
How to Send Email Using PHPMailer (2022) & Gmail SMTP
14:02
Bro Experts
Рет қаралды 95 М.
How to Generate Dynamic PDF File using TCPDF in PHP
14:42
Webslesson
Рет қаралды 124 М.
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 23 М.