smtp_service 0.0.1
smtp_service: ^0.0.1 copied to clipboard
A minimal, pure Dart SMTP email sender for sending emails without any third-party packages.
SMTP (Simple Mail Transfer Protocol) #
A lightweight, pure Dart solution to send emails directly via SMTP without any third-party dependencies. Perfect for Flutter and Dart applications that need simple, programmatic email sending.
Use Exmaple #
void main() async {
await SMTPService.sendEmailViaSTMP(
sender: "youremail@gmail.com",
recipient: "recipient@example.com",
password: "your_app_password",
subject: "Hello from Dart!",
message: "This is a simple test email sent using SMTPService",
);
print("Email sent successfully!");
}
Author #
Ahmed Wael
Flutter Developer
Passionate about building modern, scalable apps