This video helped me alot... I had my website on some server and that server is not allowing php mail function, due to which i changed my hosting server. Later i had to change to initial one again and they told me you can use SMTP function for emails. Thanks again
You're welcome! I'm glad that my work could help you with your university project. If you have any further questions or need any additional help, don't hesitate to reach out. Best of luck with your studies!
Congratulations on successfully sending your email using PHPMailer! I'm glad to hear that the tutorial was helpful and that you were able to achieve your goal. If you have any other questions or if there's anything else I can help you with, please don't hesitate to ask. Thanks for watching!
Hi @CanalJIT, I'm so glad to hear my video helped you! 😊 It means a lot to know that my tutorial worked for you after your extensive search. Thank you so much for your kind words and support. I'll keep working hard to create more helpful content. 👍
Hi @muchSwagcom, If the App Passwords option is missing in your Google account, it might be because two-factor authentication (2FA) is not enabled. App passwords are only available if 2FA is turned on. To enable it, go to your Google account security settings, enable 2FA, and then you should see the option to generate app passwords. Hope this helps! 😊
You're welcome! I'm glad to hear that the content was helpful and that you were able to solve your task. Thank you for subscribing as well! If you have any further questions or if there's anything else I can assist you with, please don't hesitate to let me know.
You're very welcome! I'm happy to hear that my content was able to help you solve the problem you were having with sending emails. If you have any further questions or need any additional assistance, please don't hesitate to ask.
You're welcome! I'm glad to hear that the video was helpful for you in completing your project assignment. If you have any further questions or need any more assistance, feel free to let me know!
You're very welcome! I'm glad that I could help save your team. If you need any further assistance in the future, please don't hesitate to reach out to me.
You're welcome! I'm glad to hear that the video was helpful and saved you time. If you have any more questions or need further assistance, please don't hesitate to ask. Have a great day!
Thank you so much for this! Was stuck with this issue for a long time. Really grateful! God bless and do make more helpful videos such as this. Subscribed!
You're very welcome! I'm glad to hear that my content was helpful to you. If you have any more questions or topics you'd like me to cover, please don't hesitate to let me know. Best of luck!
@CodePraiseGod-oj9ig You're welcome! If you have any more questions or need further assistance, feel free to ask. I'm here to help you with anything related to PHP, MySQL, or any other programming topics you may have. Happy coding!
Hey @lildive, Wow, I'm absolutely thrilled to hear that you found the tutorial helpful and learned quickly! 🚀 It's fantastic to see your progress. If you ever have more questions or if there's anything specific you'd like to learn, feel free to drop a comment or reach out. Keep up the fantastic work, and happy coding! 🌟
Thank you so much for your kind words! I'm thrilled to hear that the tutorial was helpful to you. If you have any more questions or need further assistance, feel free to ask me.
Hi @tomshobbylife, You're very welcome! I'm glad to hear that the video helped you solve your initial problem. Don't worry about having more questions-that's completely normal, and I'm here to help! Feel free to ask any additional questions you have about sending emails with PHP using PHP Mailer. Whether it's about customization, troubleshooting, or any related topic, I'm here to assist you. Just drop your questions in the comments, and I'll do my best to guide you through. Keep up the good work, and happy coding! 🚀
@@DavidGTech thank you so much. I will reach out if anything pops up. I think a lot of my problem is practice. Time is so hard to find to practice and I'm struggling. Lol. Again thank you for your help and being available.
I'm glad to hear that the video was helpful for you! Thank you for taking the time to share your feedback. If you have any further questions or if there's anything else I can assist you with, please don't hesitate to let me know.
Thank you for watching my video!! The email's "FROM" address is typically set to the sender's email address to ensure that recipients can see who sent the email. The "TO" address, on the other hand, represents the email address of the recipient in the inbox. If you have any further questions or need more clarification, feel free to ask!
You're welcome mate, God bless you too!!! By the way, I have made other video like this too but more easy because with JavaScript only ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-l8R7O4zckj8.html, hope this video can help you more!!
Thank you for your comment! In the video tutorial, the demonstration might include sending the requests to a specific email address for the sake of simplicity and illustrating the email sending process. However, you can modify the code to make sure that all the requests are sent to your desired email address.
You're welcome! I'm glad to hear that the information was helpful for you. If you have any further questions or need any additional assistance, please don't hesitate to reach out.
Hi @QuantumNebula42, Thank you so much for your kind words and the request! I'm delighted that you found the video helpful. Your feedback encourages me to create more content. If you have any specific topics or concepts you'd like me to cover in future videos, please feel free to share your suggestions. I'm here to help and create content that meets your interests. Stay tuned for more, and happy coding! 🚀😊
if u have an antivirus running on ur pc,disable it and try it again.....if this doesnt work try to re-install your xamp server without blocking any features of it
Thank you for reaching out and bringing this issue to my attention. I'm sorry to hear that you encountered the error message. This error message is usually related to a server configuration problem, and it seems like there might be a misconfiguration or an issue with your local server settings. Here are a few steps you can follow to troubleshoot and potentially fix the problem: - Double-check the URL: Make sure you've entered the correct URL in your browser. Verify the protocol (http/https) and the path to the PHP script or file you are trying to access. - Check the file's location: Ensure that the PHP script you are trying to access is in the correct directory on your local server. The file path specified in the URL should match the actual location of the PHP file. - Restart your server: Sometimes, restarting your local server can resolve temporary configuration issues. Stop and restart your Apache server and try accessing the URL again. - Review server logs: Check the Apache server logs for any error messages or clues about the issue. Error logs can provide valuable information that might help identify the problem. I hope these steps help you in resolving the problem. If you have any further questions or encounter any other issues, don't hesitate to let me know, and I'll do my best to assist you.
why is it giving an error: Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not connect to SMTP host. Failed to connect to server in . Someone help me!!!!
If you're receiving an error message like "Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not connect to SMTP host. Failed to connect to server", it usually means that there is an issue with your SMTP settings or your server is not able to connect to the SMTP host.
Thank you for trying out the tutorial, and I'm glad to hear that it worked for you! The email ending up in the spam folder is a common issue, and there are a few things you can do to improve email deliverability: - Email Content: Ensure that your email content is relevant, well-structured, and doesn't contain any suspicious links or attachments. Avoid using too many spam trigger words. - SPF & DKIM: Set up SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) records for your domain. These authentication methods can help prove the authenticity of your emails. - Dedicated IP Address: If you're sending a large volume of emails, consider using a dedicated IP address. Shared IP addresses may be associated with others who send spam. - Clean Email List: Maintain a clean email list by regularly removing inactive or invalid email addresses. High bounce rates can negatively impact deliverability. - Double Opt-in: Implement a double opt-in process to confirm the subscriber's consent and reduce the chances of spam complaints. Remember that email providers have sophisticated algorithms to detect spam, so even legitimate emails can sometimes end up in spam folders. Encouraging your subscribers to mark your emails as "Not Spam" can help improve deliverability over time. If you have any other questions or need further assistance, feel free to ask. Happy emailing!
ka saya udah coba sesuai tutorial pas send ngga ada error tapi ngga terkirim emailnya dan pass di send.php bagian use PHPMailer\PHPMailer\Exception; warnanya ngga muncul apa karena itu yah? mohon bantuannya, makasih ka
Kalau misalnya gak kekirim, coba di cek lagi di bagian spam gmailnya, terus pastiin kodenya gak ada salah penulisan, dan yang paling penting pas bagian setting SMTP server jangan ada yang salah ya, thank you!
@@DavidGTech its all working i resolved it within the day i commented it . I just forgot to reply to my comment hahha by the way thanks for the tutorial.
There are a few things you can try: - Check your spam folder in Gmail: The generated email may have been flagged as spam by your email provider and redirected to your spam folder. - Check your email settings: Make sure that your email settings are configured correctly to receive emails, and that any filters or rules you have set up are not preventing the email from being delivered.
@@DavidGTech Thank you. I have found the problem. I have changed the settings for taking a code from the email. I would like the same method for Outlook Is it possible, if possible ?
Thank you so much for your kind words! I'm thrilled to hear that I was able to help you. If you have any more questions or need further assistance, please feel free to ask. I'm here to help you!
Hello, thanks for This tutorial. But I got problem. After starting it in localhost, while sending mail I got error: Mailer Error: Message body empty What is wrong?
Thank you for reaching out and I'm glad you found the tutorial helpful! Regarding the error message you received, "Mailer Error: Message body empty," it typically indicates that the email you're trying to send does not have any content in the body. Please ensure that you have specified the content of your email message properly. Make sure you have added the necessary text or HTML content to the body of the email.
You're very welcome! I'm glad that my tutorial was able to assist you. It's always a pleasure to hear that my content is helping people and making a positive impact. If you have any further questions or feedback, please don't hesitate to reach out. Thank you for taking the time to leave a comment and let me know that my tutorial was helpful to you.
i copy your code 100% except the email addres and password but when i click submit button on form it getting me to the send.php file and in browser sent 405 error 'this page isnt working' what's wrong then?
Hi @halimal7510, A 405 error usually means that the HTTP method is not allowed. Make sure your form is using the correct method (POST or GET) and that your server is configured to handle it. Double-check your server settings and let me know if you need more help! 😊
sir i have a task but i can finished it please answerd sirrr...plzzzzz.. Please check and complete as much you can. 1. Create user who can self register details with Name, Company, Gender, Address, Email, Phone, Password . 1.a) Form Validation required 2.b) User Can login with username and password( email as username) 2. Create schools fields are School Name, Address, City, Country , Postcode 3. When the client logged in show the schools. 3.a) User can select Max 3 school( use check box). 3.b) Select and remove functionality need to be there. 3.c) Validation of Maximum 3 school. 3.d) Then submit the selected school. After submission remove the schools from the listing 4.e) Show submitted schools in a section or in other page.
Hi @user-le3xq7nx3h, To automatically send an order confirmation to the user account upon clicking "Place Order," you can use PHPMailer or the mail() function in PHP to send an email. Here's an example using PHPMailer: $mail->addAddress($user_email); // Add the user's email address here $mail->Subject = 'Order Confirmation'; $mail->Body = 'Your order has been placed successfully.'; $mail->send(); Replace $user_email with the user's email address.
Hi @muhammadbabar9836! To add multiple email addresses, you can separate them with commas. For sending emails from an address not associated with the actual email and password, you need to set the 'From' field in PHPMailer, but make sure you have permission to use that address.
Hello sir, i want to ask a question. I want to do a form,people fill the form and send it to me without their email,i want to use my other email for all messages.I mean when they send the message the message come to me from my other email.Is it possible? and sorry for my bad english, Thanks from now.
Hi @user-cc2tr7xs9f, Yes, it's possible to set the "From" email address to your other email address when sending messages from a form. You can do this using PHPMailer or the mail() function in PHP. Here's an example using PHPMailer: $mail->setFrom('yourotheremail@example.com', 'Your Name'); Replace 'yourotheremail@example.com' with your other email address.
Hi @yinkang! To solve the "Failed to open stream" error, ensure that the PHPMailer files are correctly included in your project. Check the file path for Exception.php and make sure it matches the directory structure in your project.