PHP Contact Form with PDF attachment sent using PHP Mailer

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

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!
@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
@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
@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
@johnny2598
@johnny2598 4 жыл бұрын
How to send custom attachment ? I dont need the generation part
@gundamizer4352
@gundamizer4352 3 жыл бұрын
So HELPFUL! You are a lifesaver. Thank you
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Glad it helped!
@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?
@brianpaulkizitoyawe3906
@brianpaulkizitoyawe3906 4 жыл бұрын
Lovely tutorial . .works perfectly .
@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.
@mrbay8816
@mrbay8816 3 жыл бұрын
Awesome , thank you . Really appreciate your help.
@mrdigitalau
@mrdigitalau 2 жыл бұрын
You're welcome!
@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
@poojanmehta8217
@poojanmehta8217 4 жыл бұрын
super quality content! i am very happy
@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.
@josealejandrosanchez4180
@josealejandrosanchez4180 6 жыл бұрын
Excellent material
@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!
@yannik8271
@yannik8271 3 жыл бұрын
So helpful man!:) Thank you
@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.
@alltimehasan
@alltimehasan 5 жыл бұрын
You are just awesome!
@homepoyya2945
@homepoyya2945 4 жыл бұрын
Dear Sir, Can you explain how to create pdf submission details of inquire and sending only data to mail.
@shubhamdurralrawat4727
@shubhamdurralrawat4727 5 жыл бұрын
How to add image in this
@tech4pm
@tech4pm 4 жыл бұрын
Can you send source code?
@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 !
@zakblacki
@zakblacki 3 жыл бұрын
Git source code ?
@minitimgek4945
@minitimgek4945 3 жыл бұрын
it works! thk u s m bro!
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Welcome 👍
@pedronebrazil
@pedronebrazil 3 жыл бұрын
Thank you very much!
@mrdigitalau
@mrdigitalau 2 жыл бұрын
You're welcome!
@ranamejri1693
@ranamejri1693 5 жыл бұрын
can you send the code source please?
@AyhamKamell
@AyhamKamell 3 жыл бұрын
GREAT!
@mrdigitalau
@mrdigitalau 2 жыл бұрын
Thank you!
@chudharytayyabjaved890
@chudharytayyabjaved890 4 жыл бұрын
i need source code sir
@mrtshepo4216
@mrtshepo4216 4 жыл бұрын
Thanks bra....
Working Contact Form in PHP with Validation & Email Sending
22:55
FollowAndrew
Рет қаралды 185 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Send an email with an Attachment using PHP | PHP Project with Source Code
12:07
Generate a PDF with PHP
19:17
Dave Hollingworth
Рет қаралды 65 М.
How To Create a PDF using PHP - Simple Tutorial (2019)
18:40
Mr Digital
Рет қаралды 131 М.
Create A Contact Form with PHP That Can Actually Send Mails!
26:18
fillpdf Demo python
7:55
Tyler Houssian
Рет қаралды 3,6 М.
Learn Git - The Full Course
4:20:00
Boot dev
Рет қаралды 124 М.
Create a PHP Contact Form - Simple, Easy Tutorial (Part 1)
23:32
How to send email  with  attachment using PHP (Easiest Way)
6:04
Ajith Jojo
Рет қаралды 20 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН