I am trying to send a transactional email to the user after a successful booking of a service on a NextJs app using AWS SES.
I have created a verified identity on AWS SES using the official email of the client's business.
However, I am receiving an error stating that the recipient's email is not verified (as shown below).
Is the recipient email (i.e. the email of the user booking the service) supposed to be verified? Isn't it just the the source email is supposed to be verified?
Below is my code snippet:
Expect email to be sent and only source email to be verified.
Related
I'm stuck in a login/registration flow with Firebase. I have a simple use case where users can register/login with email-password and login with Google. If a user is registered with email-pass and tries to log in with google with the same email id, I want to link both providers with one account. I know this can be done once the user is logged in, but I want to do it when the user is trying to log in via google, and some prompt will come up as "you already have an account, please enter your password to connect".
I have tried the scenario where the user is logged in with an email pass and trying to connect their google account.
If a user is registered with email-pass and tries to log in with Google with the same email id, I want to link both providers with one account.
That is happening by default. If a user signs in using email and password and later using Google provider, their account sign-in method is automatically converted to Google. Why? Because according to the official documentation, Google is considered a trusted provider:
Trusted providers:
Google (for #gmail.com addresses)
And:
Untrusted providers:
Email / Password without email verification
In some situations, Firebase will automatically link accounts when a user signs in with different providers using the same email address.
That's because by default a user can have only one account per email address. This is done to prevent users from creating multiple accounts using the same email address with different authentication providers. However, this can be changed in the Firebase console, in the "Sign-in method" tab, inside the Authentication section.
So remember, Firebase Authentication has the concept of a preferred provider for certain email addresses, and unfortunately, there is no way to change this behavior, at least at the time I'm answering this question.
Can I check with oauth2 if the user has a verified email or telephone on the discord account?
I need this because I want to create a verification (ticket bot)
Please do not reply in a way that "you have this option in the server settings".
Information:
discord.js v14
javascript
node.js
I tried to search on the internet (I'm Polish so it's hard to search using the translator).
There's an email scope for Discord's OAuth2 but not a phone number scope. Here's the documentation.
If the user has a verified email, that will be sent to your application during the callback. If the email field isn't there, you can assume the user doesn't have a verified email.
I do not think there is a way to know if the user has a verified phone number or email via oAuth.
That being said, there is a setting to only allow people in the server that have a verified phone number/email.
Is there a way to send OTP via email using Firebase email authentication.
there are only (email + password) and (sign in with email link )available.
I'm trying to make my react native application password less authentication by using firebase
So implemented phone authentication by sending users an OTP .
There is no problem if a users wants to log in with another mobile number which was not in their current phone . They can able to see the message on another device and put in current mobile and they can able to login .
But if it comes to email they must need to signed in the email Id in their current mobile so that only they can able to redirected when they pressed the (firebase email link authentication )
So im looking for Email OTP send verification like in phone auth
if it possible to done with firebase.
*note: I can use send Grind or any other mail sending platforms to send otp and verify but how could I manage the session and tokes in it .
I'm using Nodemailer for a website, and everything works fine emails get sent. The website and email is on Ionos.
After a few days though I always get a warning message on the Email account that it has detected strange activity on the account and I have to change the password, if I ignore the message I can't send or receive any further Email.
Is this a common problem with Nodemailer? Is there a way to prevent this or is there a better mail solution I could use where it's less of a chance of this happening?
Nodemailer a lot of the time needs insecure app access, ionos email client doesn't and will not use insecure app access this means, this is a problem with ionos not being insecure allowing the API to connect to the email client
I am trying to create a stripe webhook for sending a notification to user email (not customer) every time a customer adds credit card to his account. Talked with stripe support team but, the only information they gave me was too implement it through stripe webhooks.
Stripe has some notification that we can enable and that will send notifications to user email but, it does not have a notification for when customer adds credit card details to his account and I am trying to implement that. Thanks in advance
I've already installed ngrok to run the webhook but, I do not know how to set up enpoint and create the webhook to send notifications to user
You can sign in stripe, Navigation to Webhooks in left dashboard. And then create a webhook endpoint with ngrok host and your webhook API route. Example,
you create an webhook endpoint API like POST /api/v1/webhooks/stripe => Your webhook endpoint is: https://ngrok.abc/api/v1/webhooks/stripe
Click here to redirect to stripe webhooks page
I'm not sure what you mean by "sending a notification to user email (not customer)" but Stripe generally won't send emails to your users.
You'd have to implement sending an email on card update yourself. Have a look at implementing webhooks (https://stripe.com/docs/webhooks/setup) and then listening for the customer.source.created event (https://stripe.com/docs/api/events/types#event_types-customer.source.created).
Will a Slack notification work for you? Here’s an automation I created using Pipedream’s free service that listens for Stripe's customer.source.created event (based on #Paul Asjes suggestion) and sends a message to Slack:
https://pipedream.com/#pravin/send-message-to-slack-when-payment-method-added-in-stripe-p_7NClk5
To use it:
Fork the template
Create an incoming webhook URL in Slack and add it to the Pipedream workflow
Copy the Pipedream endpoint and set it as the webhook URL for customer.source.created events in Stripe
I hope that's helpful! I confirmed that it works with a test event from Stripe. If the notification has to an email, do you use any email services like Sendgrid?