Skip to content

Tag: phpmailer

PHPMailer file upload is this correct

Hi I have been struggling with working out the correct way to structure file uploads. With a lot of help I have managed to get it working but want to make sure that what I have come up with is correct and secure. Here is the full code. One thing that occurred to me is if I am moving the

unable to use PHPMAILER to send email

I have just downloaded PHPMAILER from github to send emails to users . My problem is that when I try to run the php file with PHPMAILER from localhost I get the error where sendmail.php is the file with the phpmailer sample code to send an email . I believe that there’s a problem with the location of th…

PHPMailer sends the same email twice

I am using PHPMailer to send emails from a PHP file. Here you have all the code for it: And here is how am I calling the php_mailer function: My issue is that PHPMailer is sending every email twice. Answer I suspect your browser is sending repeated requests due to a plugin. This is not an unusual problem; the…

Cron + PHPMailer Email Queue

I have a doubt, I am thinking of making an email queue and using cron job for this task, but on my website there is an email verification system, I wanted these verification emails to be delivered as quickly as possible, as I could make work? I don’t need a code, just an opinion Answer Don’t do it…