Questions tagged [smtp]

0

votes
0

answer
2

Views

Location of Security Center in CPANEL

I have been solving this problem for an hours. I have found the answer the the reason of failing sending email using SMTP from PHP mailer is the SMTP restriction in cpanel The email function works well in local host but not working in the cpanel I have seen that I have to go in security center and c...
Taylor
1

votes
1

answer
44

Views

Unable to send email s using Laravel

I'm new on Laravel and I'm trying to configure mail. My .env file is configurated as: MAIL_DRIVER=SMTP MAIL_HOST=vserv.******.*** MAIL_PORT=587 [email protected]******.*** MAIL_PASSWORD=*********
Uncoke
1

votes
1

answer
36

Views

Azure: Can't ping SMTP Server, currently using Gmail SMTP Server for an app deployed using Azure Classic VM

Can't ping smtp.gmail.com. I've been using google smtp for email notification and it was working until this moment. The app is deployed using azure vm classic deployment - Windows Server 2012 r2. Firewall is disabled. I've tried to diagnose using telnet on port 587 but the result is '220 smtp.gmail...
yobab77
1

votes
2

answer
8k

Views

authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]

i am trying to send email with attachment in PHP using SMTP and PEAR but getting the error as 'authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]' ` PHP version:1.10.1 PEAR version:7.1.6 got the code from here please help me to clear the error...
Devika shree
1

votes
0

answer
225

Views

How to get the status of a message sent with nodemailer that never reach the recipient?

I am trying to use nodemailer to send emails via a mail server that I own in JustHost. I am using the SMTP settings provided by the hosting. let transporter = nodemailer.createTransport({ host: 'mail.wegocuba.com', port: 465, secure: true, auth: { user: PROVIDERS.wegocuba.user, pass: PROVIDERS.wego...
Abs
0

votes
0

answer
5

Views

SMTP no funciona en Godaddy

tengo el siguiente problema. Resulta que tengo una actualización de sitio web, el formulario de contacto funciona bien usando PHPMailer conectado al servicio de gmail.com El problema es al subir el sitio en el Hosting de Godaddy. A la hora de probarlo no funciona. Cabe resaltar que el correo que qu...
Jesus Nuñez
1

votes
0

answer
68

Views

PHP GMail SMTP Failure

I have used this swiftmailer The PHP code seems to work but ultimately this does nothing. I hope someone dealt with this repo could help me.
observo
1

votes
1

answer
758

Views

sendgrid username and password environment variables are not read when action mailer is executed

expected: telnet smtp.sendgrid.net 587 EHLO AUTH LOGIN Enter username in Base64 Enter password in Base64 235 Authentication successful Actual: Via localhost config/environments/development.rb config.action_mailer.raise_delivery_errors = true config/environment.rb ActionMailer::Base.delivery_method =...
Robert
1

votes
1

answer
92

Views

Can we do email tracking when sending email via smtp using php zend framework

Currently I'm using mailgun to send email, but planing to send email using smtp in zend framework php. My main concern are: Need to track the emails against open and click by recipients. how can we send the emails in batch like for marketing emails or bulk emails? is there any limit like only x nu...
Sumit Tiwari
1

votes
1

answer
31

Views

C# SMTP Mail sending failed on othercomputer

I had an app which sends mail when being run. When I run this app on my computer the email sending operation successfuly completed ( I run it on both visual studio and as .exe) and I receive the mail ,but when I send my app to my friend as an .exe app (both version got tried 'published' and 'debug f...
John Spring
1

votes
1

answer
649

Views

Embed an image in html for automatic outlook365 email send

I am trying to embed and image in my html code using smtp and email in python. Packages are: import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText This is the snippet in the html This is what I see in the actual email send I feel like I am doing somethin...
megv
1

votes
0

answer
665

Views

SmtpClient “Unable to read data from transport connection” only happens after x amount of emails are sent

Edit: Things I have tried On the server running smtp in smpt virtual server I have set IP address to specific IP and to 'all unassigned', in the Access tab of SMTP Virtual Service, under relay tab, I have added all the IPs to grant list along with 127.0.0.1 client.ServicePoint.MaxIdleTime = 100; mov...
Zoinky
1

votes
2

answer
1.3k

Views

MailConnectException: Couldn't connect to host, port: smtp.sendgrid.net

I have created API key for sendGrid: I have following spring mail configuration: spring.mail.default-encoding=UTF-8 spring.mail.host=smtp.sendgrid.net spring.mail.username=apikey spring.mail.password=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 spring.mail.port=25 spring.mai...
gstackoverflow
1

votes
0

answer
2k

Views

fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086

Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in D:\vhosts\abc.com\httpdocs\system\library\mail.php on line 170 Warning: fsockopen(): Failed to enable crypto in D:\vhosts\abc.com\h...
Greyson
1

votes
0

answer
115

Views

AWS SES invalid cc address

I have a question about the AWS SES. Let's say I have an invalid address set to cc, and a valid address set to the main address To, in an email. Can the email be sent just like the other smtp, or is it different for AWS SES? Example) To: [email protected] cc: [email protected] I am asking t...
cwo
1

votes
0

answer
39

Views

Can PHPMailer determine the precise reason for SMTP failure?

I'm currently writing a tool that helps users configure an SMTP send, and am using PHPMailer to achieve this. Presently I notify users if the SMTP operation was not successful, and I'd like to make this more specific. In the source code, it says: // The reason for failing to send will be in $mail->E...
halfer
1

votes
1

answer
242

Views

SMTP Error: Could not connect to SMTP host ,mail sending using Gmail

Mail sending functionality is not working in QA server(local ip).The code snippet is given below public function Sendmail($id) { error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); $mail=New PHPMailer(); $subject = 'Action Items'; $content = 'Dear Al...
Shanu k k
1

votes
1

answer
833

Views

How to debug “Failed to send AUTH LOGIN command” when sending to GMail in CodeIgniter?

After I use print debugger to check whether it's sent or not, and here's what I got in return: bool(false) 220 smtp.gmail.com ESMTP t8sm1776565pgr.21 - gsmtp hello: 250-smtp.gmail.com at your service, [45.116.123.5] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING...
Amit Chauhan
1

votes
1

answer
765

Views

Laravel 5.5 sending Email not responding smtp.gmail.com #10060

laravel 5.5 sending mail in website local server on windows(xampp) this is my code sending code my Error Connection could not be established with host smtp.gmail.com [A connection attempt failed because the connected party did not properly respond after a period of time, or established connection...
Akam Bajalan
1

votes
1

answer
102

Views

how to retrieve message_id for a mail using deliver_later(sidekiq)

I want the SMTP message_id of a mail using deliver_later(sidekiq). I am able to get the id in the return obj of deliver_now but not deliver_later. Message_id is also missing in the return value of mail() function inside my_action_mailer when I send mail using- sent_mail = some_mail().deliver_later t...
sarthak agarwal
1

votes
1

answer
55

Views

ATSPACE.COM has broken HELO / EHLO command for SMTP transaction?

SMTP connection from my laptop to my ISP has worked fine for years when my computer sends 'EHLO [10.0.0.107]' to introduce itself. It happens to be a Mac OSX using Mail, but that's irrelevant because I'm typing the tests manually using telnet command line, tested from a Mac, a Win10, even a Pi, and...
Brian
1

votes
1

answer
279

Views

Is it possible to set the sender address dynamically in nodemailer?

I am using nodemailer to send myself emails from a contact form as part of my application. I have it set up with SendPulse as an SMTP server. I would like to create the message like so: const transporter = nodemailer.createTransport( { service: 'SendPulse', auth: { user: '[email protected]', pass:...
Matt Gween
1

votes
0

answer
42

Views

Configuring Apache James for custom domain with spring

I am developing a MTA using Apache James could anyone please let me know how to configure the spring xml for custom domain mail deliveries. Any suggestions on the topic is entertained.
geekyKishan
1

votes
1

answer
1.8k

Views

[SMTP: Failed to connect socket: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (code: -1, response: )]

I have been troubleshooting this issue for the last two months and have gotten no results on how to fix this. I am using PHP 5.6.3 with PEAR 1.10.1, the emailing pages in question worked fine with our 3-party emailing software on our local server only designed to use port 25 for SMTP. Now the PHP pa...
Peter Quill
1

votes
0

answer
109

Views

Python3 Pytracking Pixel data collection not showing

I'm writing a little script to send emails and I would like to track who opened the email with the python module pytracking like so: import smtplib import pytracking from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText fromaddr = '[email protected]' toaddr = 'XXXXXXX...
ChameleonX
1

votes
0

answer
117

Views

Email sent by Wildfly/JBoss can't be verified by Gmail

I'm having issues regarding the trustworthiness of a email a Java EE server of mine sends to it's users, Gmail can not guarantee that the email comes from where it's header claims to. My setup is Wildfly 9 and a localhost sendmail. The Main sender Java class code: @Resource(mappedName = 'java:jboss...
Eugênio Fonseca
1

votes
0

answer
30

Views

Find error in mime email formatting

I'm sending an html-formatted email with a link like this: click here It works fine in most email clients, but for a very small percentage of recipients, they receive a modified link that either removes the '.' before 'com' or adds a second '.' before the com. Like one of these: click here click he...
gaefan
1

votes
0

answer
941

Views

Can't send emails using SwiftMailer (Symfony4): wrong SMTP parameters?

I'm coding a small website using Symfony 4. There's a simple contact form that is supposed to send emails, seemed easy until I realize I can't configure it ^^ I've followed Symfony doc instructions from here: [https://symfony.com/doc/current/email.html][1] Meaning mainly having the Swift mailer depe...
Potemkin
1

votes
1

answer
256

Views

Geting an error of 220 in laravel for mail function

In my laravel project i configured a mail file and env as below. and getting an error Swift_TransportException in AbstractSmtpTransport.php line 383: Expected response code 220 but got code '502', with message '502 Command not implemented ' mail.php file
Rafik malek
1

votes
0

answer
35

Views

Verification of Email Addresses from MX using Bash

I want to verify a batch of email addresses in a file (say .txt) using telnet to mx and declaring recipient then checking response. I need a script that reads email addresses from a file, takes out host after '@', looks up MX, telnets(or mailcmd, whichever you prefer), does the deed, then outputs re...
Ateeb Khan
1

votes
1

answer
394

Views

Can’t send email to smtp.gmail.com

Here is my mail configuration: mail.transport.protocol=smtp mail.smtp.host=smtp.gmail.com mail.smtp.port=465 mail.smtp.auth=true mail.smtp.ssl.enable=true mail.smtp.socketFactory.port=465 mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory mail.store.protocol=imaps mail.imaps.host=imap.gmai...
1

votes
1

answer
133

Views

Haraka Mail Server + Laravel

Is Haraka-server is compatible with PHP ?, I tried to implement SMTP-Server with Haraka + Laravel(Crudbooster). Haraka running with 25. I have already test with Swaks for send email and it works well i recieved the email. But when im tried to test with Laravel with mail_driver smtp port 25, it's no...
1

votes
0

answer
176

Views

2018 (March) Java SMTP TLS connections (only) from development (localhost) started failing — production servers working

In development, which has worked for a few years now, we suddenly started to get SMTP certificate failures when trying to send email to either Mailgun (RackSpace) or AWS. While we don't need to send a lot of mail from development but we do need to test some mail related activities from time to time...
Techmag
1

votes
1

answer
47

Views

Emails not sending - a good way to fix this?

I work for an advertising agency working with several clients who we are building and managing wordpress websites for. One issue that arises every time with a new install, is the issue with emails not sending/receiving. We usually solve this by installing an SMTP plugin and set it up using the clien...
Daniel Thu
1

votes
0

answer
188

Views

How do I fix SASL authentication failure

I'm trying to set up an email server on Centos 7 using postfix and dovecot. whenever I telnet into my server, I get kicked out: [[email protected] log]# telnet mail.mydomain.com smtp Trying IP ADDRESS... Connected to mail.mydomain.com. Escape character is '^]'. Connection closed by foreign host. When I che...
Cristian
1

votes
0

answer
686

Views

System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed

I'm trying to send a mailing list to 500 customer via Gmail for a client, the problem is it only sends 89 and then I get the following error: System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed The code I have does work when I send the 500 to local picku...
Paul Thompson
1

votes
2

answer
40

Views

Google SMTP cyrillic Subject

I am using Google smtp in my project, and here's a poblem. I am sending html letters with cyrillic text. Body is okay, but subject displaying with broken encoding (Ð ÑРµСÐСâ СÐÐ ÑР·СÐÐ ÑР»РÑÐ Ñ). Which encoding must be used to set cyrillic subject for Google...
1

votes
0

answer
239

Views

Java Mail Api getting stuck at “220 2.0.0 SMTP server ready”

So I'm trying to send mail using corporate email using smtp. ie. smtp.office365.com I've tried every possible way to code it, but every time it gets stuck on 220 2.0.0 SMTP server ready Code Debug Op DEBUG: JavaMail version 1.5.1 DEBUG: successfully loaded resource: /META-INF/javamail.default.pro...
Tuhin Bagh
1

votes
0

answer
36

Views

Does php mail function acts as an email client?

I am working on an email sending script in plain PHP I am curious about this PHP mail function is this function is just an email client or I am configuring it wrong?
user9543196
1

votes
1

answer
547

Views

Sending a Mail using SMTP PHP phpmailer

I want to be able to send a mail to my Email address whenever I fill in and submit my contact form. I followed a tutorial on how to do that but unfortunately it does not send a mail to mailbox. Everytime I submit the form it justs returns the error message 'There is an error' Can someone please chec...
Douggy Budget

View additional questions