Questions tagged [smtp]

1

votes
1

answer
49

Views

Getting exception when sending email

Hello everyone I am trying to send an email in Laravel and after using so many configurations and getting same exception each and everytime I am posting here the exception I am getting is. Expected response code 220 but got code '', with message '' Steps I used in configuring Mail in Laravel are fol...
Mohsin Abbas
1

votes
0

answer
308

Views

Send email with delphi indy from windows service application

I'm trying to send email with TIdSMTP, Indy10, using the Office365.com server from a Windows service application. I use: Server name: smtp.office365.com Port: 587 Encryption method: STARTTLS I use 1.0.2 version of libeay32.dll and ssleay32.dll. They are located in the same directory with the applica...
tico
1

votes
2

answer
221

Views

How to add smtp in normal php mailer

Our email client use smtp, I like to add smtp details in following emailer I tried but its not working, there is any other way to fix this code? $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->Host = 'smtp.example.com'; $mail->Port = 26; $mail->Username = '#@#@#@#@-####[email protected]@@@-#####[email protected]#@#@#@#@#@#'; $m...
Gold Pearl
1

votes
1

answer
352

Views

SmtpClient “Request failed; Mailbox unavailable”

Im trying to send and Email with SmtpClient at the yahoo smtp server 'smtp.mail.yahoo.com', 587 The first time trying, I got an email telling me to change my account settings to allow smtp requests to work, but after doing that, the mailbox is unavailable. SendMail method: public void SendMail(stri...
Joshua H
1

votes
0

answer
40

Views

cURL and SMTP error after SSL and clodflare

I have a wordpress site.Everything was running fine but after I activated SSL sertificate and Cloudflare things got messed up. I am trying to send emails via mailgun smtp. but I got this error. smtp error I googled for this one and I tried to change from google DNS to openDNS but no success Also wh...
Davis
1

votes
0

answer
54

Views

hMailServer with Domain - WAMP

I came into a struggle the last few days. Using WAMP Server and following this Tutorial I set up a local email environment, and I wanted to make the emails reach accounts outside of the local host. I heard you need to make some changes in the DNS zone, so here is my DNS Zone at Freenom. Is is possib...
MikeMart77
1

votes
0

answer
218

Views

Access Guerrilla Mail account via Telnet/SMTP client

I am trying to read emails from a Guerilla Mail account that has 'expired' –Based on the Guerrilla Mail documentation, past email addresses are not reused or destroyed, so they should be accessible: 'all addresses work all the time, they never expire' –Guides like this try to give instruction on...
Burrough
1

votes
1

answer
163

Views

Swiftmailer unable to authenticate to GMail using oauth2 token

I'm trying to use SwiftMailer to log in to a GMail account for which I have a valid access token. I can successfully login using the account credentials: $Transport = new Swift_SmtpTransport('smtp.gmail.com',587,'tls'); $Transport->setAuthMode('login') ->setUsername('my-email-address') ->setPassword...
Pickle
1

votes
1

answer
299

Views

How to verify the TLS version used in javax.mail.*;

When connecting to an SMTP server using javax.mail , how can I make sure that the version of TLS is v1.2 or higher. I am using Java version 8 (update 162).
feybas
1

votes
1

answer
174

Views

AWS SMTP mail error in CodeIgniter (Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.)

Am trying to send Email with AWS SMTP auth access is passed, and configured everything but still got an error from CI $this->load->library('email'); $config['mailtype'] = 'html'; $config['useragent'] = 'ses-smtp-user.20160628-105419'; //origon $config['protocol'] = 'smtp'; $config['smtp_host'...
Jay mun
1

votes
2

answer
719

Views

Laravel mail on shared hosting

I've a form contact on my website and I want the form to be sent via email when submitted. I've tried it in xampp and it's working fine. On shared hosting, it does not work. I'm using my own custom domain smtp. Someone can explain me why it's not working ?
Alex Caron
1

votes
1

answer
112

Views

Add headers to outgoing smtp message that will exist in reply

I need to create a correlation between an outgoing e-mail to a reply e-mail without changing the subject or body. I've tried to add some headers to an SMTP outgoing mail: var outgoingMessage = new System.Net.Mail.MailMessage(); mail.Headers.Add('Tag','MyNewTag'); mail.Headers.Add('CorrelationID','My...
ohadinho
1

votes
1

answer
38

Views

Does there exist any protocol which follows only request model?

HTTP follows the request-response model, i.e. for every request from a client there will be a response from the server. Does there exist any protocol that follows only request model (there will be only requests from client)? I know SMTP. Can I consider SMTP as request only model because we are send...
Abhiram V
1

votes
1

answer
169

Views

How to get SMTP response code using Laravel 5 & Amazon SES?

I've been trying to get 'SMTP response code (e.g. 250, 530, etc.)' in my project using Laravel5.6 & Amazon SES, but eventually I couldn't find a way to do it. Actually, I could get the 'Message ID' which is published by SES... but how can I get RAW response code? Here's what I've tried to get Messag...
S. Iguchi
1

votes
0

answer
41

Views

How to insert image in Yagmail? (Python)

I have a Yagmail script where I want to send an email formated like so: Hello! Below is a picture. img.png Goodbye! However, my script is just sending the image all the way at the bottom of the email. Here is my code: img = 'img.PNG' body = 'Hello! Below is a picture.' + img + 'Goodbye!' contents =...
Bryan Thai
1

votes
0

answer
164

Views

SMTP mail sending in c# with azure access token

I wanted to send a mail using SMTP server with Azure access token. I have an application hosted in azure and user login with tenant active directory. I found a code which does the same for google account here. Can someone help me? I tried with the below code, generated azure access token and tried...
Anita
1

votes
0

answer
658

Views

WinError 10060 A connection attempt failed because the connected party did not properly respond

I am trying to verify emails by sending requests to SMTP servers. When I test in Linux, it works for 90% of emails. When I test in Windows, I did some analysis and like for 79% of emails will show the WinError10060 problem. I tried using VPN, proxies and even turning off the firewall but the same pr...
Bese
1

votes
1

answer
124

Views

Gmail SMTP timeout on 587 port, EC2 in private subnet

I have a few ec2 instances running in private subnet, one of them needs to use SMTP to send emails over 587 port, since the EC2 is in a private subnet I think im getting a timeout over the port, Is there anyway to fix this
LutherSmi
1

votes
0

answer
27

Views

How to add smtp host to send mails with this phpmail script

I want to send mails using this PHP MAILING script but through SMTP and not through sendmail because my host rejects all emails as spam and I don't check my spam folder as its heavy loaded with spam emails daily. I just want to know where to put the code which will use my SMTP logins to send mails u...
Nova
1

votes
0

answer
8

Views

UTL_SMTP utility in Adaptive Server Enterprise database

What is the counterpart of Oracle's utl_smtp utility in Adaptive Server Enterprise database. Thank you
neriza
1

votes
0

answer
171

Views

Python script send out more emails that it supposed to send

I tried the solution for the post here, but it didn't help. Part of my python script sends out email to recipients. When I run the code in my Pycharm it sends out exactly 3 emails which is the number of email addresses for my test case and the number which it suppose to send out. However, when I try...
Luna2
1

votes
0

answer
166

Views

production.ERROR: stream_socket_enable_crypto(): SSL: Success (Laravel 5.5)

I'm getting this error when trying to send mail from my production server with a Laravel 5.5 project: [2018-07-28 16:05:57] production.ERROR: stream_socket_enable_crypto(): SSL: Success {'exception':'[object] (ErrorException(code: 0): stream_socket_enable_crypto(): SSL: Success at /home/html/my-proj...
americanknight
1

votes
1

answer
159

Views

SMTP configuration on Plesk Server (Centos)

I'm trying to make code to send a simple mail via SMTP, I read that I must use the class phpmailer and also install pear engine on the server root, I downloaded some different files to authenticate the SMTP but always requires more files that I don't have or cant be charged. Actually, the PHP errors...
Jose Castillo
1

votes
0

answer
226

Views

SparkPost email not working

I have used sparkpost email for my website http://hlwmm.org. I have used php Phpmailer library with Sparkpost SMTP. It was working fine but its not working now. Below is my code // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function u...
Pradeepta Khatoi
1

votes
0

answer
25

Views

No data received by TcpListener from an SmtpClient

I'm trying to solve strange problem that's causing the SMTP server I normally use to return a 'unknown recipient' message for my own email address. In production I use a different SMTP server so this just blocks my testing. I tried to use Fiddler to analyse the traffic but apparently Fiddler doesn't...
Jonas Rembratt
1

votes
1

answer
157

Views

smtp auth via boost and c++

i am writing an cpp smtp client using boost 1.67. When i try to send log in data, the server returns auth error, but when i try it by hand via telnet it works. Here is my code: sktSocket.write_some(boost::asio::buffer('AUTH LOGIN\r\n')); size_t lenTemp = sktSocket.read_some(boost::asio::buffer(chTem...
pxlfussel
1

votes
0

answer
237

Views

How can I send email through google security?

I have developed an app for Android and iOS. I am using Delphi 10.2.3 Tokyo, with Indy 10. I wrote a function for sending an email via Gmail with some help. Although the function often works properly, sometimes it gets the error below when some participants log in Gmail with their own phones. https...
miro
1

votes
1

answer
57

Views

Sending Email Using SMTP Bluehost Server

I use ASP.NET WEB API and I want to send an email from my application from an email created by https://www.bluehost.com/ Here is the configuration in the web.config file: Here is my code: SmtpClient smtpClient = new SmtpClient(); smtpClient.Timeout = 120000; MailMessage mail = new MailMessage('from...
Mouna
1

votes
0

answer
17

Views

office365 SMTP working on local host but “cannot send to all reciepeints” error on host server

office365 SMTP working on localhost but 'cannot send to all reciepeints' error on host server. emails are correct , have checked all things I found in internet but still no resolution. Can anybody help
Ashish
1

votes
0

answer
171

Views

SMTP: CLIENT: 535 5.7.3 Authentication Unsuccessful

I'm trying to send an email every time someone inputs a form on my website but the SMTP isn't working. It keeps on showing me this error. The credentials of the email account are correct. Also, I have already tried SMTPAuth = False; but still the same result.
Julian Zahra
1

votes
0

answer
51

Views

Getting timedout during smtplib.SMTP(“smtp.gmail.com”, 587) in Python

The following code is working perfectly in another computer: def send_email(user, pwd, recipient, subject, body): #lb.send_email('[email protected]','P&ENLAMS','[email protected]','Test','This is a test') import smtplib FROM = '[email protected]' TO = ['[email protected]'] # recipient if isinstance(reci...
Alireza Asadi
1

votes
0

answer
416

Views

PHPMailer using SMTP TLS 1.1/1.2 on PHP 5.5.9 (ubuntu 14.04)

My SMTP provider recently dropped support for TLS 1.0 and my PHPMailer based email system running on PHP 5.5.9 would no longer connect to the server. 2018-08-14 16:28:19 SERVER -> CLIENT: 220 2.0.0 xxxx.xxxxxxxx.com ESMTP ecelerity 4.2.39.65443 r(Core:4.2.39.51) Tue, 14 Aug 2018 16:28:19 +0000...
scotru
1

votes
1

answer
379

Views

How do I schedule an email to send at a certain time using cron and smtp, in python?

So far I have only been able to send emails. Here's my code: import smtplib email_user = '[email protected]' server = smtplib.SMTP ('smtp.gmail.com', 587) server.starttls() server.login(email_user, 'email pass') #SET TIME HERE? from crontab import CronTab #EMAIL message = 'sending this from python!'...
Here
1

votes
0

answer
87

Views

Gmail 421-4.7.0 Errors

Trying to post a question, but keeps getting flagged as spam. Attaching an image of the question. Nothing like recursive problems.
mwarble
1

votes
1

answer
60

Views

Avoid being recognized as spam

I'm trying to send succesfully emails from python using smtp google and smtplib. The email is sent right, but the receiver gets the email as spam. Is there something about the headers or how can I avoid to be recognized as spam? from flask import render_template, current_app from flask_babel import...
Alejandro Alvarez
1

votes
0

answer
164

Views

How to configure AWS EC2 server Ubuntu 16.04 with installed mailutils (postfix) to send email from mysite using php form action?

I have Amazon EC2 server with Ubuntu 16.04. I was set up my project site with a free domain by Freenom.com and free SSL by Cloudflare.com - my site works well. On server in inbound rules option I added these protocol types rules: 'http=80', 'https=443', 'ssh=22', 'smtp=25'. I installed 'mailutils',...
Bagi Yak
1

votes
0

answer
82

Views

smpt not sending email on published while working on localhost fine in asp.net MVC

my code is WebMail.SmtpServer = 'smtp.gmail.com'; //gmail port to send emails WebMail.SmtpPort = 25; WebMail.SmtpUseDefaultCredentials = false; //sending emails with secure protocol WebMail.EnableSsl = true; //EmailId used to send emails from application WebMail.UserName = 'myemail'; WebMail.P...
Waqas Ahmad Khan
1

votes
0

answer
179

Views

“SMTP Error: Could not authenticate” in PHPMailer for outlook

I'm using PHPMailer in a Simple Script For Send Email's Through office360, and I'm getting an 'Unknown Error' SMTP -> ERROR: Password not accepted from server: SMTP -> ERROR: RSET failed: 235 2.7.0 Authentication successful target host PS1PR06MB1083.apcprd06.prod.outlook.com SMTP Error: Could not...
sangeetha malika
1

votes
1

answer
29

Views

smtp / c# - how to set repy-to email address when using MimeMessage instance

The MimeMessage.ReplyTo property is readonly. How will I set value to this property?
Arun Kumar A.J
1

votes
0

answer
117

Views

Gitlab not sending email

I've installed gitlab ce on docker with the documentation, everything is ok but mails doesn't works in gitlab (ask for new password for example). When I test my conf in the rail-console I get the mail, when gitlab is supposed to send email, it doesn't works. For mail I use OVH SMTP conf, my smtp_set...
pkshetlie

View additional questions