Email Sender simplifies email integration in Flutter, enabling users to send emails, facilitate OTP verification, Enhance your app's email functionality effortlessly.
import 'package:email_sender/email_sender.dart';
⭐ Class Initialization
EmailSender eamilsender = EmailSender();
⭐ Send Method
void main() async{
//Initialize emailSender
EmailSender emailsender = EmailSender();
//Enter your email in send method
var response = await emailsender.send("[email protected]");
print(response["message"]);
}
⭐ SendOtp
EmailSender emailsender = EmailSender();
var response = await emailsender.sendOtp("[email protected]",123456);
⭐ Sendmessage
EmailSender emailsender = EmailSender();
var response = await emailsender.sendMessage("[email protected]","title","subject","body");
⭐ Custommessage
EmailSender custom = EmailSender("[email protected]","passkey","[email protected]","title","subject","body");
var response = await emailsender.customMessage();
⭐ Help
Email emailsender = Email();
email.help();
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.