I am saving a form content to a DB as well as sending the contents of the form using PHP mail() and HTML.
I am using msmtp as the MTA. (smtp.gmail.com) This works fine.
Now I want to send an additional email with an attachment. In this case I want to use PHPMailer.
Not being a seasoned...
So, currently using PHP mail() for simple emails. Now I need to send an attachment. In comes PHPmailer.
Are there any recent tutorials on how to install and configure PHPmailer without using Composer?
Most of the information I have googled is old.
I am running PHP 7.4 in my test...
So after some searching, I found that using $_SESSION to pass a variable from one php page to another would suit my needs.
So here is what I am doing. I have an html form with multiple input.
I generate a jobnumber when the form is sent (submitted). But I want
to save the value of jobnumber...
So I have a test environment (Ubuntu) on one server hosted by Linode.
I have a production server (Ubuntu) hosted by SSD-Nodes.
I have an html form that is saved in a mysql db. I also send a copy of
the form to the originator as well as the owner of the website.
It works fine on the test...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.