-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Mail sending (Gmail) doesn't work #4510
Comments
curl --request POST \
--url http://localhost:8181/mails \
--header 'accept: text/plain' \
--header 'content-type: application/json' \
--data '{
"recipient": "[email protected]",
"text": "mail body"
}' |
I’m wondering if someone came across the same issue as I did 😞 ? |
I haven't checked the app, but do you see any errors or exceptions when you invoke that endpoint? Any logs? |
@jaikiran Absolutely nothing :) |
Saw that |
When I set
|
The issue is gmail does not accept username and password anymore: |
@cescoffier Seems they are, considering this sample project: mail-sending-example.zip |
Bug still present in |
@jaikiran @cescoffier Is there someone available for support? Or to point me out if I can provide any? As stated above, I suspect |
@dodalovic Sorry, I haven't been able to find some time to look into this. I will see if I can find some time later this week, if no one else get to it before that. |
I encountered something similar last week in setting up some home networking. It was simply not possible for me to send an email to the GMail SMTP server with a simple email/password combination of the account. You need to create an application passcode that can be used with the email address. See https://support.google.com/accounts/answer/185833?hl=en |
@kenfinnigan Yep, did that, doesn’t help 😞 |
Same here! |
ok that gmail requires an "app password". But why is there no error, and why was it necessary to set |
@Sanne I haven't had time to get to this and given that this involves having to use a gmail id, I probably won't be able to get to this any soon. |
thanks @jaikiran , and sure didn't mean to rush anyone :) Just checking that we agree there's something to be done here, anyone could look to improve this. Adding the "good first issue" as I think it might not be too hard. I hope I'm not wrong :) |
I ran into this same issue with quarkus 1.0.0.CR1 .. (in application.properties) ... note - XOAUTH2 is removed from the listquarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN ... in quarkus app ...
} |
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
Updated mailer docs with option for google password auth , issue #4510
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue #4510
The documentation has been updated. |
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
…kusio#4510 By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue quarkusio#4510
I was following official guide
app.zip
The text was updated successfully, but these errors were encountered: