mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
feat(types): add email types for sending emails (#3020)
This commit is contained in:
@ -81,9 +81,10 @@ pub async fn connect_account(
|
||||
|
||||
use crate::services::email::types as email_types;
|
||||
|
||||
let email_contents = email_types::WelcomeEmail {
|
||||
let email_contents = email_types::VerifyEmail {
|
||||
recipient_email: domain::UserEmail::from_pii_email(user_from_db.get_email())?,
|
||||
settings: state.conf.clone(),
|
||||
subject: "Welcome to the Hyperswitch community!",
|
||||
};
|
||||
|
||||
let send_email_result = state
|
||||
|
||||
Reference in New Issue
Block a user