Questions tagged as 'phpmailer'

1
answer

PHP attachment / coded attachment

I'm trying to send an attachment in php through the mail function, with a code I got on a website, but it's not working. When I send the message, it arrives correctly, but only if it was to be an attachment, it arrives encrypted. <?php...
asked by 29.05.2017 / 15:53
1
answer

Send meeting invitation with PHPMailer

When creating a new event in the calendar, it automatically sends an email to the person responsible for this event with the information that a new event has been marked like this: try { $bdd = new PDO("mysql:host=$hostname;dbname=$databas...
asked by 14.09.2018 / 14:01
1
answer

PHP Mailer - Undefined Method 'Subject'

send-contact.php <?php session_start(); $nome = $_POST["nome-contato"]; $email = $_POST["email-contato"]; $mensagem = $_POST["mensagem-contato"]; require_once("mailer/mail-autoloader.php"); $mail = new PHPMailer(); $mail->isSMTP(); $ma...
asked by 05.12.2016 / 15:03
1
answer

Page Ratio in html5

I have an html code that I'm using to send email through phpmailer. The problem is that the background of the page is very large and I would like to know if I can narrow it down. Here is the code for the page: <!DOCTYPE html> <ht...
asked by 16.08.2018 / 16:51
1
answer

PHP does not take phone field information

I'm creating a form to send direct email from a site, via PHP . However, when I add the field to put the phone to contact the code PHP , it does not seem to recognize the field and does not get the information from that field. I made...
asked by 20.01.2018 / 13:35
1
answer

Error of: preg_replace_callback

Some precise functionality of sending emails and before sending normally, however, now the following message appears:    Deprecated: preg_replace (): The / e modifier is deprecated, use preg_replace_callback instead in /srv/disk35/4754145/www...
asked by 24.09.2018 / 08:47
1
answer

PHPmailer does not work email

I have the following code: require_once('c:\wamp64\www\phpmailer\class.phpmailer.php'); $mail = New PHPMailer(); //$mail-> ErrorInfo; //exit; $mail->IsSMTP = true; //$mail-> ErrorInfo; //exit; $mail->SMTPSecure = "ssl"; //$mail-&...
asked by 09.03.2017 / 18:53
1
answer

PHPMailer does not send attachment [duplicate]

I've already tried the answers here from Stack, I've done the same but it keeps going wrong. So I'd like you to take a look and maybe find something I can not see It is simply that the email sent by PHPMailer does not go with attachment....
asked by 18.11.2018 / 03:42
1
answer

Failed to read a .php file (PHPMailer lib)

Hello! I have the following form: <form role="form" method="post" action="send_email.php" id="formContato"> <div class="left"> <fieldset class="mail"><input placeholder="Endereço e-mail" type="t...
asked by 18.03.2018 / 14:24
1
answer

error sending email in php using phpmailer

Follow my php and html code <?php require("PHPMailer/PHPMailerAutoload.php"); if (isset($_POST['submit'])){ $enviaFormularioParaNome = 'Lucas'; $enviaFormularioParaEmail = '[email protected]'; $caixaPostalServidorNome = 'user'; $caixaPo...
asked by 10.03.2017 / 02:47