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.

238 questions
3
votes
1 answer

Wordpress SMTP mail: test mail works but not wp_mail

I'm using wordpress with the WP Mail SMTP plugin in order to send emails via authenticated SMTP. I have now got it opened at the SMTP server so that we can relay there and the Test mail works - reports true and the mail arrives. However, if I try…
Adam
  • 6,361
  • 3
  • 34
  • 52
3
votes
0 answers

Haskell - Connection and smtp

Following this : Using tls-extra for simple smtp, I am trying to write a script to send a mail via gmail(the gmail bit is not mandatory) I have written this : {-# LANGUAGE OverloadedStrings #-} import Network.Connection import Data.Monoid …
Yain Tao
  • 71
  • 2
  • 6
3
votes
0 answers

SMTP mail code is working fine in Android ICS but not in Gingerbread?

I have written a code to send mail through SMTP, The mail is sent from android ICS devices, but from Gingerbread device mail is not sent. Can anyone go through the code and help me... Firstly I m calling sendmail() method of GMailOauthSender…
Neeraj
  • 477
  • 8
  • 16
3
votes
2 answers

Add SMTP AUTH support to Python smtpd library... can't override the method?

So, I wanted to extend the Python smtpd SMTPServer class so that it could handle SMTP AUTH connections. Seemed simple enough... So, it looked like I could just start like this: def smtp_EHLO(self, arg): print 'got in arg: ', arg # do stuff…
Keith Palmer Jr.
  • 26,497
  • 16
  • 62
  • 103
2
votes
2 answers

Sending Authenticated SMTP Using C#

I have purchased an authenticated SMTP package with my hosting company. I have tested the account settings via Outlook 2010 successfully. Outlook settings: Email: me@domain.com Outgoing SMTP: smtp.hostingcompany.net Logon Info: user:…
Seany84
  • 5,284
  • 5
  • 40
  • 63
2
votes
2 answers

Bugzilla SMTP authentication

I've installed bugzilla in my local machine (Windows 7) and its working good. But when I try to create a new account it says There was an error sending mail from it@gmail.com to ra@gmail.com: Could't set FROM: 530 5.5.1 Authentication…
Vantage
  • 21
  • 1
  • 2
2
votes
0 answers

Perl Net::SMTP abruptly disconnects when/before calling auth()

What I have is a relatively simple Perl script that will be given a string of json data, parse out specific properties and pretty-print the rest, wrap it all up in an email and send it out via my mail server. It's been two decades since I wrote any…
Cliff Armstrong
  • 175
  • 1
  • 10
2
votes
1 answer

Why does authenticating with Office365 SMTP claim that the correct credentials are invalid?

I have been attempting to utilise Office 365' SMTP functionality, but have run into difficulties when trying to authenticate with it. This is the code I'm testing with: string host = "smtp.office365.com"; int port = 587; string username =…
Interminable
  • 1,268
  • 3
  • 18
  • 41
2
votes
2 answers

Using Mailkit : "The SMTP server has unexpectedly disconnected."

I am trying to use a free SMTP relay from SendGrid to send emails from my ASP.NET application. I can connect to the server, but when I try to authenticate, I get this error : "The SMTP server has unexpectedly disconnected." using (var client = new…
jabir saidi
  • 106
  • 2
  • 8
2
votes
1 answer

How to Send an Email Attachment using Net::SMTP::TLS

I need to connect to a Microsoft Exchange server, and the only module I've found which can achieve this is Net::SMTP::TLS. I'm able to send the emails, however, I'm unable to understand the way it wants me to attach a file. Unlike MIME::Lite, it…
Doctor Kill
  • 131
  • 6
2
votes
1 answer

Open socket connection to SMTP server using Stream in Swift 3

I need to connect to an SMTP server and failing open the connection. Failing handshake (missing authentication) is furthest I got here. I open the socket to a normal server but failing to do so in here to send an email. private func connect()…
Ondrej Rafaj
  • 4,070
  • 7
  • 38
  • 61
2
votes
2 answers

Unable to send Mail using smtp due to AuthenticationException

I am using following class to send Mail but in response i am getting some exceptions, which i have pasted here. Username and password are correct, what could be the possible reason of errors? Code: package com.mailsend; import…
Usman Rana
  • 1,429
  • 1
  • 13
  • 30
2
votes
2 answers

Configure php mail with smtp

I have php mail without smtp aunthetication and mail server doesn't allow me to send email without using smtp. I have tried many options but I can't fix it; I'm new in php world. Please help me fix it. This is my php mail code:
Xhulo
  • 21
  • 4
2
votes
0 answers

Rails Net::SMTPAuthenticationError in production but not in development

I try to send Devise email through Gmail. From Rails console in development mode on localhost it sends OK, but in production from other machine in a cloud it raises the error. I've enabled in Google not trusted application access. I use the same…
zuba
  • 1,378
  • 1
  • 14
  • 42
2
votes
0 answers

SMTPAuthenticationError: (535, '5.0.0 Authentication Failed')

I am running a python code for sending an email from my Hotmail account. The code I am using is: def initmail(): signin() ##if "gmail" in username: ## server = smtplib.SMTP('smtp.gmail.com', 587) ##if "hotmail" in username: …
1 2
3
15 16