add check email count: only email addresses that email count within the limited value can be sent emails
add check email mapping: the address will be converted to the mapping value if it has been set an email mapping value
Signed-off-by: Luan Shengde shdluan@163.com --- lib/mail-post.rb | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/lib/mail-post.rb b/lib/mail-post.rb index 803a134..4eb5800 100755 --- a/lib/mail-post.rb +++ b/lib/mail-post.rb @@ -10,6 +10,10 @@ require 'open3' require 'mail' require 'base64'
+require_relative 'mail-post/email_init' +require_relative 'mail-post/email_limit_queue' +require_relative 'mail-post/email_mapping' + set :bind, '0.0.0.0' set :port, ENV['SEND_MAIL_PORT']
pls ignore this email.
Thanks, Luan Shengde
On Thu, Jan 14, 2021 at 11:22:51AM +0800, Luan Shengde wrote:
add check email count: only email addresses that email count within the limited value can be sent emails
add check email mapping: the address will be converted to the mapping value if it has been set an email mapping value
Signed-off-by: Luan Shengde shdluan@163.com
lib/mail-post.rb | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/lib/mail-post.rb b/lib/mail-post.rb index 803a134..4eb5800 100755 --- a/lib/mail-post.rb +++ b/lib/mail-post.rb @@ -10,6 +10,10 @@ require 'open3' require 'mail' require 'base64'
+require_relative 'mail-post/email_init' +require_relative 'mail-post/email_limit_queue' +require_relative 'mail-post/email_mapping'
set :bind, '0.0.0.0' set :port, ENV['SEND_MAIL_PORT']
-- 2.23.0