I want to send an email using Strapi.
In order to this, I did following steps:
I installed an Email provider:
npm i strapi-provider-email-gmail-2lo
I created plugins.js file
plugins.js
But, when I try to send an email using the Strapi admin panel I got the error:
failed to send an email
In terminal :
enter image description here
Can you help to solve this problem?
Related
I am using the laravel admin panel for my app https://play.google.com/store/apps/details?id=com.app.easynotes4u as the backend on my website www.books.easynotes4u.com.
Everything is fine except the registration and login forms on the Android App, which show the error "Try again later" when I try to login. When I try to register, the same error shows, but when I look at the admin panel, it shows that the user has registered successfully, but at the time of registration it was showing the error "Try again later." But the login form is not working. It is also showing the same error and users are unable to login. So, can anybody help me here with this issue?
Log File: https://prnt.sc/sJc79rNFIuXz
It looks like Passport is not/bad installed.
the error log tell you that "oauth_personal_access_clients" database table does'nt exist.
you can run to this to fix this problem
php artisan passport:install
Strapi user registration returns error 400 Bad Request every time I try to register a test user, however the user does get created in the Users collection.
I am using the standard Strapi Email plugin (not the Send grid plugin), everytime I register a user, this plugin does not send an email which leads to be unable to confirm the user.
In the above image it returns an 400 Error but the user gets created.
Also, how to send the confirmation email with Strapi standard email plugin.
All auth permissions for Public role have been enabled
How to fix this error and send the confirmation email on new user register?
I also have the same issue, I just turned off the 'Enable email confirmation' on Advanced Settings, then it worked (registration).
So, In Strapi Admin:
Go to Settings -> Advanced settings
Set the field Enable email confirmation to "Off" then click save.
This works for me.
I think it's because you use the default email provider (sendmail). And your computer is not an available smtp server.
So I suggest you to install strapi-email-nodemailer https://www.npmjs.com/package/strapi-email-nodemailer
Then in your admin panel, got to Plugins (menu link) > Email (cog icon) and the select nodemailer provider and set the smtp server you want to use.
If you have trouble to setup correct information I suggest you to check how nodemailer node module work. strapi-email-provider is just a connector to use nodemailer from Strapi.
please check
My problem was because the sender email was misidentified.
The other problem I had was because there was no email configuration.
I installed the strapi-provider-email-smtp package and it was fixed when I made the necessary settings.
this worked for me.
The application could send email initially, but now it displays the following errors. Using the same credential from other Laravel Application is not a problem. I tried deleting the vendor folder and installing it again (composer install).
I tried using mailgun, which is working completely fine. Working with gmail.smtp is the goal of the project.
i am using magento enterprise right now when user click on reset password fill email address our magento send password to user. but what i am trying to add reset link in email. i try to edit
{{store url="customer/account/resetpassword/"_query_id=$customer.id _query_token=$customer.rp_token}}
http://yoursite.com/customer/account/resetpassword/?id={{var customer.id}}&token={{var customer.token}}
{{store url="customer/account/resetpassword/" _query_id=$customer.id _query_token=$customer.token}}
three of them not working customer token not coming in email i try with rp_tocken , token both has same problem token missing in email.
and when i click on link shows me 404..
while i was working on this functionality then i saw " rp_token " not exist then what i did i create rp_token,ro_date attribute under customer then once user request for password reset then i just add values in these attributes then send email link.. here is full module :
http://www.sandeepsingh.us/product/magento-ajax-resetpassword-module/
download this module please read or install carefully if you are not able to run this left me know..
I'm creating a chat app using this Quickblox chat tutorial. I downloaded a demo project and put my app details in AppDelegate.m. When I run the project I get an error message - unauthorized.
Why is this happening? Thanks for the help!
Chat application uses predefined demo user login & password.
If you put your app details - you also have to update your user demo user login & password. Go to admin panel and create a new user for example.