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

PHPMailer works where CakeEmail doesn't with the same configuration

I have the following problem, as you may have imagined by the title I have a CakePHP v2.5.6 application with a contact form, and it's giving me an authentication error every time I submit it, how was my surprise, after trying a simple test using…
Asur
  • 379
  • 3
  • 20
1
vote
1 answer

I am receiving this error from phpmailer Message could not be sent.Mailer Error: SMTP connect() failed?

I am working on phpmailer but I am receiving this error, I dont know what is wrong. I search and did many changes. but noting helped me. I am testing both on live server and on localhost. on both I am receiving the error Message could not be…
Ali Gohar
  • 51
  • 5
1
vote
0 answers

Send Dynamic Variables gathered from sql Queries in PHPmailer

I am trying to use PHP Mailer to send dynamic emails. the issue i face is that the variable values are not going in the email, infact nothing is being sent in the email from the p tags where the variable is stored. the email however goes fine.Not…
pranay
  • 61
  • 10
1
vote
0 answers

PHPmailer With Gmail Error

I'm using PHP Mailer to send email from Gmail via my PHP code, here is my PHPMailer Configuration : $mail = new PHPMailer; $mail = new PHPMailer(); // create a new object $mail->IsSMTP(); // enable SMTP $mail->SMTPDebug = 4; // debugging: 1 =…
Marcel Ang
  • 119
  • 1
  • 11
1
vote
0 answers

Gmail is not delivering email with a link

Am using phpmailer to send email from my Gmail account. Gmail is not delivering emails if I have a link in message body. Here is my email Dear Zeeshan, Thank you again for calling Test. We improve our service based on your feedback. Will you…
ITGuru
  • 73
  • 11
1
vote
2 answers

phpmailer on windows IIS

I am trying to configure PHPMailer in order to have it working ona Windows IIS server using php scripts. The application I have is written in PHP so we expected we could easily use PHPMailer to send emails. Well, that doesn't work. We have tried…
Aptivus
  • 433
  • 1
  • 8
  • 24
1
vote
1 answer

PHPMailer authentication issue

I have no idea what i'm doing wrong or whats going on, but I'm completely confused on whats happening. Some reason the exact same login information I'm passing for the pop->Authorise is being rejected on the SMTP level? Here is my connection…
eqiz
  • 1,521
  • 5
  • 29
  • 51
1
vote
0 answers

PHPMailer won't send message

I have two forms on this page. The first one works. The second one doesn't. The answer suggested doesn't have any answers that address my issue. They recommend checking for error messages (I've already reported the error message that I received at…
bboysupaman
  • 1,274
  • 1
  • 13
  • 20
1
vote
0 answers

Can't send mail through exec in PHP

I'm trying to send an email and I have 2 scripts: send.php
Tom
  • 1,027
  • 2
  • 16
  • 35
1
vote
1 answer

Google SMTP Error: Could not authenticate

The following code does not work once i put it on the server, I have similar code working on my local environment and it works perfectly, any ideas? edit: i did set my gmail setting to "less secure"
SAWC
  • 37
  • 1
  • 5
1
vote
1 answer

PHPmailer issue - php coding above html but not receiving emails

I'm trying to use phpmailer to work alongside a contact form I have made. I was originally using simple php coding for the form, but this would not work on the web company's server, so they asked me to use phpmailer instead. I have changed the…
Stak
  • 11
  • 2
1
vote
0 answers

500 Internal Server Error while using mail() function in PHP

I am working mail() function in php. Here I have different forms like register, forget password etc. Actually when user fill the details and submits the form we will send an email to the user. So for that I am using mail() function. But now the…
1
vote
1 answer

Get response code using smtp.com with phpmailer

It's possible? Get response code from smtp.com using phpmailer. I have the list of codes smtp.com, but using the variable $mail->ErrorInfo only get a description of error, I like get the…
1
vote
2 answers

use of email format in yii

I am able to send simple email to receiver.Now i have to be able to select a email format from existing different formats and this template must appear in my message box.i should also be able to change the content of the template that appears in…
Ram lamsal
  • 87
  • 8
1
vote
2 answers

Getting Error 405 (Not Allowed) on PHPMailer

I'm trying to use PHPMailer to send emails from a contact form. Once submitted, the server doesn't respond for more than 5 minutes, then results in ERROR 405 Not Allowed - ngnix. I'm using SMTP Auth from webmaster@mydomain.com, and the SMTP server…
Dexter
  • 795
  • 2
  • 13
  • 27
1 2 3
99
100