Configuring an Email Server
Configuring an email servercan be useful to send Emails when you have activated the link method. For learning more about link method visit kratos-docs. For configuring Email server open kratos/config/kratos.yml
For SendGrid​
- Create a sendgrid account.
- On the dashboard click on one of the sending domains.
- Select the SMTP method for sending the email.
- In kratos config file, add the smtp connection URI. Format of the URI is smtp://username:[email protected]:port/?skip_ssl_verify=true
- Example :
courier:
from_name: Kavach Develop
from_address: [email protected]
smtp:
smtps://apikey:[email protected]:465/?skip_ssl_verify=false
For MailGun​
- Create a mailgun account.
- On the dashboard click on one of the sending domains.
- Select the SMTP method for sending the email.
- In kratos config file, add the smtp connection URI. Format of the URI is smtp://username:[email protected]:port/?skip_ssl_verify=true
- Example :
courier:
from_address: [email protected]
smtp:
smtp://[email protected]:[email protected]:587/?skip_ssl_verify=true