-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Authentication error while using postal #100
Comments
I've since made attempts to use (ns hello-from-devnagri.scratch-postal
(:require [postal.core :refer [send-message]]))
;; AWS
(def host "email-smtp.us-east-1.amazonaws.com")
(def user "AKIAJ....")
(def pass "AuP....")
(def conn {
:user user
:pass pass
:host host
;:ssl true
:port 587
})
(send-message conn
{:from "abhinav@fourtek.com"
:to "abhinav@fourtek.com"
:subject "Hi!"
:body "Test."})
Unfortunately, with this I get the following error
|
@abhi18av With Amazon SES, (def conn {
:user user
:pass pass
:host host
:tls true ;; <-- may be required
:port 587
}) c.f. https://github.com/drewr/postal#encryption-gmail-example |
I have the same error with gmail on aws: |
Many thanks @poenneby for tracking this down and updating the docs! I think we could also add some helpers in Postal for popular services like Gmail and SES. If someone would like to work on that, please do. |
Hi, is this issue resolved? I am still getting similar error logs while I am using correct tls/ssl ports as per gmail support docs. |
Hi @drewr
I am trying to use this library to send messages via my
gmail
account to anothergmail
account.Here's the sample code I've used from the
ReadMe
But so far, I keep running into authentication error
Could you kindly please help me out here ?
The text was updated successfully, but these errors were encountered: