Class EmailService
java.lang.Object
com.greenloop.auth_service.service.EmailService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendOtpEmail(String toEmail, String otpCode) Sends an HTML OTP verification email to the user.
-
Constructor Details
-
EmailService
public EmailService()
-
-
Method Details
-
sendOtpEmail
Sends an HTML OTP verification email to the user.- Parameters:
toEmail- The recipient's email address.otpCode- The One-Time Password to send.
-