Questions tagged [phpmailer]

PHPMailer is an email creation and sending class for PHP. PHPMailer is designed to communicate directly with other servers, unlike PHP's native `mail()` function.

PHPMailer is a PHP email creation and sending class featuring file attachments, SMTP servers, CCs, BCCs, HTML messages, word wrap, and more. Sends email via sendmail, PHP mail(), or directly with SMTP. Please make sure you download from the project page and not from older repos on SourceForge.

Useful links

5538 questions
1
vote
1 answer

SMTP Error: Could not authenticate. Sign-in attempt prevented

I am trying to send email by phpmailer class.But i see this problem : SMTP Error: Could not authenticate. And in my gmail account i see a mail : sign in attempt prevented I am using this credentials : function send_mail($email,$message,$subject) { …
user3100283
1
vote
1 answer

PHPMailer won't send html message

I have problems with sending html based message with php mailer. Some answers here in stackoverflow says to include $mail->isHTML(true) which i do but no result.. here is the code require '...'; $mail = new PHPMailer; …
Iraklis Bekiaris
  • 1,163
  • 15
  • 43
1
vote
0 answers

PHPMailer Smtp connect failed. Connection Timed Out (110)

date_default_timezone_set('Etc/UTC'); require 'phpmailer/PHPMailerAutoload.php'; //Create a new PHPMailer instance $mail = new PHPMailer; //Tell PHPMailer to use SMTP $mail->IsSMTP(); //Enable SMTP debugging // 0 = off (for production…
1
vote
0 answers

PHP mail form doesn't sending in iphone and tablets devices

I have a Landing Page with a contact form. When someone fill my contact form, it sends an email by php mail(). We track with analytics and all the contacts they’re been registered in a database. Some users, fill the contact form and appears in…
1
vote
1 answer

PHPMailer smtp connect() failed on ovh server

I'm using PHPMailer to send daily emailing (max 100 emails), my script works fine on local, but when i uploaded it to my server (Hosted on OVH) sometimes it blocks and generate this error after sending an average of 20 emails SMTP connect() failed…
RaisoMos
  • 159
  • 4
  • 11
1
vote
0 answers

PHPmailer gives error CLIENT -> SERVER: EHLO localhost

I am using PHPMailer. When I try to send mail using gmail mail id eg. $mail->Username = 'email@gmail.com'; it sends successfully but when I try by using private mail server mail id means which is accessible within the campus only…
Tejas Khutale
  • 84
  • 2
  • 19
1
vote
1 answer

PHPMailer An established connection was aborted by the software in your host machine

I want to try sending email of my web application from localhost. I am using SMTP Gmail. I am installing to my computer an SMTP server to send out mail with this one. My syntax in my controller like…
dede
  • 823
  • 4
  • 13
  • 24
1
vote
0 answers

phpmailer with umlaut (mutated vowel)

I've got a little script to send data via ajax to my phpmailer in mailer.php The E-Mail will send successfully but I have problems with the German umlaute (ä,ö,ü,ß). I receive the Mailcontent: "Beratung erwünscht" like this: "Beratung…
Archer
  • 1,062
  • 1
  • 13
  • 32
1
vote
2 answers

PHPMailer won't send

I'm pretty new to programming and I'm using MAMP (with PHP7.0.0) on my iMac for development. I need to send out emails to confirm customer registration. For testing purposes I just want to use my standard GMail account to send an email from myself…
JulesGru
  • 43
  • 7
1
vote
1 answer

When sending a bulk email using phpmailer, is it better to send one email with multiple BCCs or multiple individual emails?

When sending a bulk email using phpmailer, is it better to send one email with multiple BCCs or multiple individual emails? I'd like to know the effect on performance and the email being treated as SPAM by the client server.
Michael LB
  • 2,715
  • 4
  • 23
  • 38
1
vote
3 answers

Sending links via email

I'm trying to send a website link via email. The classic website The problem is when I receive the email and try to open it. It doesn't want to redirect to the website. I'm not sure what I am doing wrong,…
White Lotus
  • 353
  • 2
  • 6
  • 16
1
vote
0 answers

$mail->AddAddress() causing trouble with executing code

I am a beginner to phpmailer. I followed the instructions and copied their code for my small project. Now there seems to be a problem with $mail->AddAddress(). After the line the execution stops and non further line is executed. Here is my…
1
vote
0 answers

PHPMailer password command failed with Exchange server

I have problem with sending emails with SMTP, using PHPMailer. I have config file with optons for PPMailer, and class for sending. In every other server it works fine but with this not. Part of ini file: mail.is_smtp = true mail.host =…
Manveru
  • 925
  • 1
  • 8
  • 24
1
vote
0 answers

When attaching less than all files I get a "could not access file" error

This all worked under an older version of PHP, and I know exactly where and what the problem is. Just not sure how to fix it. I have a form that has other forms of input but this is the part I need help with. Attachment(s):
1
vote
0 answers

PHPMailer issue php version

I'm looking for help with phpmailer. I use this script in php 5.5.12. CharSet = 'UTF-8'; $mail->ContentType =…
Eldar Blrs
  • 43
  • 7
1 2 3
99
100