Это видео недоступно.
Сожалеем об этом.
How to send email using PHP Mailer and host SMTP | PHPMailer Integration in PHP website | Hosting
HTML-код
- Опубликовано: 17 июл 2022
- In this tutorial, we will send email using PHPMailer and host SMTP on the PHP website. Integrate the PHP Mailer library into your website and send emails using HTML form. In this tutorial, we will download the PHPMailer library and install the composer as well as we will create a form to send single and multiple emails using PHP.
Get the Best Hosting and domain from here -
bluehost.sjv.i...
PHPMailer is one of the best code library which is a very secure library for email systems for PHP websites. PHPMailer is used to email sending by SMTP. In this PHP tutorial, we will use SMTP Hosting to integrate PHPMailer into our website. As you know, PHPMailer is very difficult to integrate for beginners but in this video tutorial, you will watch complete steps to download PHPMailer, install composer on the local computer and install composer by command line after that we will create an email sender form to send single and multiple emails by PHPMailer.
Source for this tutorial -
technosmarter....
If you getting these errors-
Warning: require(vendor/autoload.php): failed to open stream: No such file or directory
Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='C:xamppphpPEAR')
Or command line error -
'composer' is not recognized as an internal or external command,
operable program or batch file.
In this video, you will get a complete solution.
How to integrate PHPMailer into the PHP website?
PHPMailer itegration process is very easy.
Follow these steps to integrate PHPMailer -
1. Download PHPMailer from Github.
2. Install composer. If the composer is not available on your computer then download the composer from the getcomposer website .
3. Run command line . run cmd
4. Run command
cd c:\
Now you are in c drive.
cd xampp\htdocs\smtp
Here, smtp is a project folder name. You can set your project folder where the PHPMailer library is available.
Now, run a command to install the composer
composer require phpmailer/phpmailer
5. Upload source on your hosting server by cpanel.
6. Create email by Cpanel from email accounts.
7. Check host details and use in PHPMailer simple example.
To integrate PHP Mailer with Hosting SMTP , watch complete video tutorial.
Website
technosmarter.com
For any question , use our Techno Smarter QA platform.
Ask a Question
technosmarter.c...
or other videos by Techno Smarter...Subscribe below links!!
Facebook
/ technosmarter
Instagram
/ technosmarter
Twitter
/ technosmarter
RUclips Channel
/ technosmarter
#technosmarter #phpmailer #smtp #smtphosting #hostingsmtp #cpanel #php #website #email #emailmarketing #liveserver #emailaccount #mailer #composer #installation #host #posrt #security #ssl #tls #username #password #getcomposer #github #mail #hosting
My Setup
Cameras
amzn.to/3srDxjn
amzn.to/3srDxjn
Office Chair
amzn.to/3sq7NLA
Office Table
amzn.to/3sq7NLA
Mics
amzn.to/3wgQgGS
amzn.to/3vWPEar
Laptop / PC
amzn.to/3wBBta3
Reference -
1. How to send email using PHPMailer and Host SMTP .
2. Send multiple emails using PHPMailer
3.Email sending using PHP Mailer library and SMTP.
4. Send email using HTML form in PHP .
5. Send multiple emails using PHPMailer and Host SMTP.
6.What is the secure method to send emails in PHP.
7. Integrate PHPMailer on PHP website.
8. PHPMailer configuration by Host , tls , 587,465,secure,username ,password from email and to email .
Thanks bro, this video helped me a lot💯🔥
You're welcome.
keep making such useful videos
Sure and thank you ....
While installing composer i have error like git was not found in your path
Set your path or use without composer with second method
Hi bro i have one problem on mail sending in my website, after form filling i didn't receiving email
Kindly check smtp credentials. You can enable Debug in smtp code to check errors. ✔️
all the details are show to enable the debug but email is not coming
Check your hosting and once talk to your hosting provider if SMTP is enable or not or not available.
Hello sir, mujhe ek chij puchna tha, mera school management ka software hai, usme email setting me do options hai smtp aur sendmail, lekin mujhe samajh ye nahi aa rha h ki mai apki batai huyi script ko kese apne cpanel me rkhu
Ok kindly check your initially pricess from where to starts . Jahan se bhi email send krni hain vahan par script ka ise kar sakte hain aap ye depend krta aapke uper ki kis file se data send krna hain and kab krna hain.
Can i add multiple input tags ??
Yes , why not
How to send email using PHP Mailer and host SMTP hosted on hostinger
Follow same tutorial for hosting.
working.
what if i have professional email how do i generate app password in webmail?
Find SMTP credentials and use login password.
Mere software me jo email setting k options hai uske whi parameter hai jo apne bataye hai, lekin wo work ni kr rha h, mai apne hosting mail ka use kr rha hu,
May be your smtp is not working.
May be your host details are incorrect.
So aapko ache se check krna h ki aapki hosting par smtp enable to h ki nhi aap mail send kr sakte hain ki nhi agar enable ni h to kra lijiye .
Dusra proper correct host details aapko dene hain ok ..
Sir mai godaddy ki hosting use kr rha hu, aur unhone smtp enable kar dia hai, unse bat huyi thi to wo bol rhe the ki, mujhe ek script upload krni hogi tbhi mail ho payega
@@TechnoSmarter aur sir jaise aap mail ki body likh k mail kr rhe ho, mujhe wesa software me ni krna hota hai, bas kisi ne forget password option use kia to automatically uske mail pr chala jayega
Yes . You can send your reset password form link in the message body .
How to use gmail id in this php mailer? If i have gmail id from google suit so how can i use??
You will need to use Google api for gmail smtp . It will different method .
bhai yarr pls help kar do mail nhi send ho raha hai live par
Kya aapne correct host details di hai. ?
Aapka hosting provider kon hai?
Aapki hosting par SMTP enable hai. Ki nhi ?
Kindly give these details.
Recipient ko mail ja raha hai par admin ko nhi ja raha hai
Local par proper work kar raha hai
Recipient vo hota hai jisko mail jaye ab aap proper jo bhi sahi email id doge to email mein to usper hi jayega ab chahe aap admin ki I'd do ya kisi ki bhi I'd do mail usi par jayega. Aapko to email mein email is set krni hain bus .
Please aap isme check kar sakte ho kya
Kisme ?
@@TechnoSmarter phpmailer ka code comment box me send Kiya hai aapko usme check kar sakte hai kya aap
@@TechnoSmarter
Not received any code in the comment. You can post your question on our QA forum. You will get the answer there.
technosmarter.com/qa/
How to ask?
Please check previous questions before posting. You will get an idea about it.
technosmarter.com/qa/questions/php
You can post any question here.
@@TechnoSmarter Ho gya hai wo aapki video ne bahut help ki hai bhai, Thankyou!
service unavailable aa raha h send krne par please help me bro
Are you testing on live server?
@@TechnoSmarter yes bro but not send please help me
Enable Debug and check errors .
Also check if SMTP is enabled or not in your hosting.
Provide correct web email and password of your same domain.
@@TechnoSmarter send me your contact number dear please
@@TechnoSmarter mene kafi bar implement karliya bhai but mail send nhi ho pa rahi please help me bhai
Vaiya url load ho raha he sirf
Check your internet connection or path .
If create a tutorial. How to send multiple sms in php from localhost. Thanks.
Sure , we will .
do we have to use composer for hosting?
Yes. Use command to install composer.
Aur main bat ye ki aap video me mail ki body likh rhe hai, jabki mere software alert mail automatically send krta hai, body predefined hai
Ye just parameter hain aap ise kr sakte hain direct .
@@TechnoSmarter mtlb aap keh rhe h ki apne jo script batai h use agar mai apne Live Server pr daal deta hu aur use u hi rhme deta hu to mera software mail send krne lagega
@@TechnoSmarter jese forget password ka use koi user mere site pr krta hai to wo password recovery mail use mil jayega
@@TechnoSmarter sir apka whatsap no mil skta h taki mai apko screen shot bhej sku
Forget password m message body m reset password form ki ki and ek token jata php mailer ke dwara .
Forget password in php
technosmarter.com/php/forgot-password-and-password-reset-form-in-php
Still didn't receive email
Kindly check your log errors . Enable debug also enable log.
Reasons -
1. Wrong SMTP credentials .
2. SMTP disabled .
3. Same email with same subject and content many times .
4. SMTP is not available on your hosting .
Please check all of these .
@@TechnoSmarter Can you check my code?
Kindly share your log errors or code errors.
@@TechnoSmarter where should i share
You can share on fb page .
Link in description .