Questions tagged [smtp-auth]

is an extension of the Simple Mail Transfer Protocol whereby an SMTP client may log in, using an authentication mechanism chosen among those supported by the SMTP server.

284 questions
9
votes
1 answer

Send email through unencrypted connection

I have a SMTP account that does not use encrypted connection. I can use the same account to send emails from C# and Python without problems but with Go I get the error: unencrypted connection This is the code I am using: package main import ( …
Santiago Corredoira
  • 47,267
  • 10
  • 52
  • 56
8
votes
2 answers

Validate smtp server credentials using java without actually sending mail

To verify smtp server credentials shall I use transport.connect()? Session session = Session.getInstance(properties,authenticator); Transport tr=session.getTransport("smtp"); tr.connect(); Is it correct method to check smtp server credentials?
Roshan
  • 2,019
  • 8
  • 36
  • 56
7
votes
4 answers

Error sending email: raise SMTPAuthenticationError(code, resp)

Im trying to send emails with smtp module, but Im having an error: File "/usr/lib/python2.7/smtplib.py", in login raise SMTPAuthenticationError(code, resp) smtplib.SMTPAuthenticationError: (534, '5.7.14)... Someone already had this error? Do…
UserX
  • 1,295
  • 7
  • 25
  • 39
7
votes
2 answers

SMTP-AUTH requested but missing user name

currently I'm doing Daniel Kehoe's Learn Ruby on Rails tutorial. One of the exercises is to send a contact form from the Contact page using Google's Gmail account. However, when I sent the contact form, instead of getting an email in my mailbox, I'm…
Toontje
  • 1,415
  • 4
  • 25
  • 43
7
votes
5 answers

Sending email using Outlook SMTP

I want to send email in Django application using Outlook's SMTP server. The problem is, I get SSL wrong version number error every time I'm trying to send a message. Error traceback: Traceback (most recent call last): File…
ahawkthomas
  • 656
  • 3
  • 13
  • 26
7
votes
1 answer

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

Possible Duplicate: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required I have a problem when i m run this code then error is occured that "The SMTP server…
Sanat Pandey
  • 4,081
  • 17
  • 75
  • 132
6
votes
1 answer

Why does SMTP via gmail work locally but not on my production server?

I'm running a nodejs server hosted on AWS (Ireland) and using emailjs to send emails. The email account I'm using is a gmail account and I can send emails from my local machine without any issues, but the emails fail to send from the production…
SomethingOn
  • 9,813
  • 17
  • 68
  • 107
6
votes
0 answers

SMTP authentication error: SASL authentication failure: Password verification failed

I have a VPS server which is running postfix + dovecot as mail server. I have already created two accounts which work well. Both can send and receive email via STARTTLS and SSL. But when I added a third account today, it can only receive email but…
Jonathan
  • 538
  • 1
  • 6
  • 18
6
votes
2 answers

Send email using Outlook.com SMTP

I am trying to send an automated email using Outlook.com smtp support. However I am get the following exception: System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An…
Andy
  • 95
  • 1
  • 2
  • 7
5
votes
2 answers

Cannot send SMTP email from windows service on Win7

I am writing a Windows service using c# .NET 4.0 (my development workstation is Windows 7). The aim is to send an email from the service directly in case of errors during processing. I've included a code snippet to show what i am trying to…
PreethaA
  • 905
  • 12
  • 13
5
votes
3 answers

Mailkit does not authenticate with credentials

I'm trying to send an email with Gmail account. I was able to send emails with yahoo, however, it doesn't work anymore, for some unknown reason. Which i posted a question about that as well, but not response. In this instance, i'm trying to connect…
Csibi Norbert
  • 780
  • 1
  • 11
  • 35
5
votes
2 answers

How do I tell Prometheus' Alertmanager to send email through Gmail's SMTP server

I would like Prometheus to send emails from a Gmail (Gapps) account when metrics cross certain thresholds. In the Alertmanager config docs, there's no mention of passwords. How do I authenticate to the SMTP server?
duggulous
  • 2,427
  • 3
  • 23
  • 40
5
votes
4 answers

Python 3 | Send email -- SMTP -- gmail -- Error : SMTPException

I want to send an email by use of Python 3. I cannot yet make sense of the examples that I have seen. Here is one reference: Using Python to Send Email I have pulled the first simple example found on the above reference. I find this example a good…
Blue SeventyTwo
  • 539
  • 2
  • 4
  • 12
4
votes
1 answer

Office 365 XOAUTH2 for SMTP on native clients 535 5.7.3 Authentication unsuccessful

I try to send mails via the smtp of office 365. I setup an app registration for native client in azure and set the permission SMTP.Send. But when I connect I've been able to get a token, but the sending doesn't work. In all others articles I read,…
4
votes
3 answers

postfix: check_client_access not working

I want to block specific IP's, that try to login to my postfix server by smtpd. Therefore in the /etc/postfix/main.cf I added the following: smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, ... check_client_access…
Andre
  • 623
  • 2
  • 9
  • 20
1
2
3
18 19