Search code examples
javaspringspring-bootemailsender

Java Mail Sender in Spring Boot Scheduler


i created a job that sending email automatic using java mail sender.

i want to ask about java mail sender performance using SMTP GMAIL, is it normal sending email with attachment (1 MB size) it takes 1-2 minute to sending 1 mail only.

is it possible to send mail in a second ? because i need to fast sending the mail to many customer email.


Solution

  • It Solved, when im implementing to OnPrimese it works fine, and sending the mail about 7 mail/minute, and some setting in app properties. Thank You.