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

href link with phpmailer is erased

I am using phpmailer to send an email with a button that has a link to another page. For some reason it works almost everytime, except with one specific client of mine. Apperantly his email has is hotmail or outlook. What happens in this case is…
LUIZ
  • 11
  • 4
1
vote
2 answers

How to configure PHPMailer to connect to smtp.google.com via proxy

How can I configure PHPMailer on localhost to send email by connecting through a proxy, as the direct connectivity to smtp server (smtp.google.com) is blocked by the network admin. Also guide me if there is a substitute for PHPMailer that can use…
A. Sinha
  • 2,666
  • 3
  • 26
  • 45
1
vote
1 answer

Unable to send email via PHPMailer

I am using PHPMailer to connect to smtp.google.com for sending emails but the SMTP ports are blocked by network admin. How can I get around this problem. Please Help.
A. Sinha
  • 2,666
  • 3
  • 26
  • 45
1
vote
4 answers

Unable to send mail from localhost in zend framework 2

I am unable to send mail using localhost connection and correct code . But getting this error…
php devp
  • 75
  • 3
  • 12
1
vote
2 answers

FormData not sending values through AJAX POST using Jquery

I am trying to send my form through ajax using jquery and send input values through phpMailer and it is not working. The emails are sending, but the values are blank. It was working before but I don't know what changed. Here is my form:
1
vote
2 answers

PHPMailer and anonymous TLS connections

I'm using phpmailer to establish a TLS connection on port 25. I cannot use a username/password, so it's a anonymous connection. The server responds with the following: 250-SIZE 250-PIPELINING …
Swissdude
  • 3,486
  • 3
  • 35
  • 68
1
vote
0 answers

Working contact form but doesnt show up alert message

This is my website: http://bbb.antalyabalikcilik.com.tr/contact-us.html I have a contact form. I get emails to my email address but the form doesn't show up after email sending 'THANK YOU' alert. html code:
Volkan
  • 11
  • 2
1
vote
3 answers

Attach file in mail using Codeigniter & PHPMailer

I am using PHPMailer and codeigniter https://github.com/ivantcholakov/codeigniter-phpmailer to send mail with attach file but I got error my code is $this->load->library('email'); $result = $this->email ->from('xxxx@gmail.com',"xxx…
Vipin Sharma
  • 421
  • 5
  • 24
1
vote
0 answers

Fail background-image when send a mail

I have send a mail with a template html. i'm using phpmailer class. My code is like this this template have a background-image that work in Gmail, but when i send to a mail from the…
1
vote
1 answer

phpmailer addBCC not storing addresses

I am using PHPMailer and use AddBCC to send to most of my addresses (only use 1 required in AddAddress). It seems to work okay (no errors), but I have found that it isn't saving (or sending to) all of the addresses that I process with…
1
vote
1 answer

SMTP ERROR: Failed to connect to server: With PHPMAILER in Dreamhost

I can not send mail using the PHPMailer lib. My site is hosted on dreamhost, with SMTP gmail I can send more properly to the configuration provided by the hosting the only return is: SMTP ERROR: Failed to connect to server:…
1
vote
1 answer

How to integrate attach file via phpmailer with the following code

I am trying to send a file named proposal via phpmailer. But it doesn't seem to work. I can't seem to get $_FILES working or apply the isset to it together with the $_POST. Please help. Thank you in advance. This is the HTML file: PHP included on…
Roger
  • 597
  • 9
  • 32
1
vote
1 answer

Gmail not working with PHP integrated mail() for outgoing mails

We are having some major problems with the new gmail updates. Most of our page doesn't send mails anymore since our MX DNS is linked to Gmail. Now most of our functions that use PHP mail() does ONLY send e-mail every second mail. How come? Anyone…
Gjert
  • 1,069
  • 1
  • 18
  • 48
1
vote
1 answer

Example = PHPmailer sending Form
, with Email, with several attachments, from several inputs[file]. Example for upgrade

I would like to show you, my custom functions working with PHPmailer function, which I use for sending email with (always) three attachments from three inputs. I would like to ask you, is possible to upgrade this tone of code for better? I am…
Uland Nimblehoof
  • 862
  • 17
  • 38
1
vote
1 answer

How to set FROM in php mailer using Gmail SMTP

I was trying to set from in php mailer (gmail smtp). But in inbox it shows from mygmailaccount@gmail.com. here is my code : $this->_mail->Username = "mygmailaccount@gmail.com"; //Password to use for SMTP authentication …
Amit Kumar
  • 3,384
  • 6
  • 25
  • 42