Questions tagged as 'email'

1
answer

G-Mail ignores CSS

Everyone, good afternoon! The middle-sized email gossip that ignores CSS in the emails I make, it does not even appear in emails, and sometimes when it appears, it changes the class I need for a random class of them. How can I get around this...
asked by 16.03.2017 / 17:28
1
answer

Send email PHP and CPANEL - Email authentication

What is the most correct way to send an email using PHP. Is this email authenticated?     
asked by 22.03.2016 / 18:13
1
answer

Using PHPMailer to send email with attachment but without using User and Password

That was the only way I could do it. When I take the SSL configuration it does not send. I wanted a form that did not use SMTP, can you help me? My code so far: require("phpmail/class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSM...
asked by 03.11.2014 / 14:01
1
answer

validating only .com.br regex

Personnel was modifying a regex to validate only specific domains that end with yahoo.com.br, terra.com.br, bol.com.br, hotmail.com.br. So gmail.com, or Provider.net.br would be invalid. Then I made the regex below: const std::regex pattern...
asked by 17.12.2017 / 05:27
1
answer

PHPMailer Could not connect to SMTP host

I'm trying to send an email through the PHPMailer library, but I did not succeed: /. Server: HostGator Following code: <?php $nome = $_POST["nome"]; $email = $_POST["email"]; $assunto = $_POST["assunto"]; $msg = $_POST["msg"];...
asked by 12.01.2018 / 20:32
1
answer

Error sending E-mail using Hotmail as CommonsMail Java

I'm having trouble sending email using Outlook, returning the following error. Erro Sending the email to the following server failed: smtp.live.com:25 I have tried with port 587 and smtp smtp-mail.outlook.com , but with no succ...
asked by 24.02.2017 / 14:41
1
answer

PHPMailer too slow to send emails

I'm using PHPMailer on a GoDaddy host, the registration page takes about 10 ~ 15 seconds just to send the email, is there any efficient way to optimize this? or is it a matter of server capacity? Current setting: $Mailer = new PH...
asked by 07.12.2016 / 06:15
1
answer

Import error when sending simple email with python

I am learning to send email in python and am encountering several problems. One of them is already in importing the smtplib module. My code is as follows: from smtplib import SMTP smtp=SMTP('smtp.live.com',587) smtp.starttls() smtp.login('my@h...
asked by 29.12.2016 / 15:42
1
answer

Laravel 5 mail format html with css

I'm sending an email through Mail of laravel 5 $data = Input::all(); Mail::send('mails.sendteste', $data, function ($message) { $message->from('[email protected]', 'Sistema'); $message->subject...
asked by 30.03.2016 / 15:44
1
answer

Modal display of confirmation after sending email

I have the following code <?php require_once('PHPMailer-master/PHPMailerAutoload.php'); PHP_OS == "Linux" ? $quebra_linha = "\n" : $quebra_linha = "\r\n"; //$emp = $_POST["empresa"]; $nome = trim($_POST["nome"]); $tel = $_POST["telefone"...
asked by 03.10.2016 / 19:20