简体   繁体   English

Java Spring 引导调度程序中的邮件发件人

[英]Java Mail Sender in Spring Boot Scheduler

i created a job that sending email automatic using java mail sender.我创建了一个使用 java 邮件发件人自动发送 email 的作业。

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. 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.因为我需要快速将邮件发送给许多客户 email。

It Solved, when im implementing to OnPrimese it works fine, and sending the mail about 7 mail/minute, and some setting in app properties.它解决了,当我实现 OnPrimese 时它工作正常,并以大约 7 封邮件/分钟的速度发送邮件,并在应用程序属性中进行了一些设置。 Thank You.谢谢你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM