Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.sun.mail.smtp.SMTPSendFailedException: 451 Auth Fail #68

Closed
ezcocoa opened this issue Nov 24, 2015 · 2 comments
Closed

com.sun.mail.smtp.SMTPSendFailedException: 451 Auth Fail #68

ezcocoa opened this issue Nov 24, 2015 · 2 comments

Comments

@ezcocoa
Copy link

ezcocoa commented Nov 24, 2015

I got this following error.

com.sun.mail.smtp.SMTPSendFailedException: 451 Auth Fail. Check this URL: http://cs.daum.net/faq/43/9234.html?page=5#33119

com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1215)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:586)
postal.smtp$smtp_send_STAR_.invoke(smtp.clj:36)
postal.smtp$smtp_send.doInvoke(smtp.clj:58)
clojure.lang.RestFn.invoke(RestFn.java:423)
postal.core$send_message.invoke(core.clj:35)
toeic_score.routes.user$mailto$fn__654.invoke(user.clj:315)
liberator.core$run_handler.invoke(core.clj:178)
liberator.core$handle_created.invoke(core.clj:233)
liberator.core$decide.invoke(core.clj:85)
liberator.core$new_QMARK_.invoke(core.clj:235)
liberator.core$decide.invoke(core.clj:85)
liberator.core$post_redirect_QMARK_.invoke(core.clj:237)
liberator.core$decide.invoke(core.clj:85)
liberator.core$post_BANG_.invoke(core.clj:243)
liberator.core$decide.invoke(core.clj:85)

and this is my code:

(send-message {:host "smtp.daum.net"
:port 465
:user "userid"
:pass "password"
:ssl :yes}
{:from "mr.hjbaek@gmail.com"
:to "mr.hjbaek@gmail.com"
:subject "test"
:body "hello"})

It works fine on local. but i deployed this on AWS. it doesn't work for me.

plz help.

@drewr
Copy link
Owner

drewr commented Nov 24, 2015

From the postal side of things, your message seems legitimate. Perhaps your auth settings don't get populated properly after you deploy?

@ezcocoa
Copy link
Author

ezcocoa commented Nov 25, 2015

@drewr thank you. i've solved it. i don't know exactly. the problem is related to lib and version.

@ezcocoa ezcocoa closed this as completed Nov 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants