invoke mail-post/internet-smtp to run the send mail service
Signed-off-by: Luan Shengde luanshengde2@huawei.com --- container/send-internet-mail/run.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 container/send-internet-mail/run.rb
diff --git a/container/send-internet-mail/run.rb b/container/send-internet-mail/run.rb new file mode 100644 index 0000000..efda5b9 --- /dev/null +++ b/container/send-internet-mail/run.rb @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby + +require 'sinatra' + +require "#{ENV['CCI_SRC']}/lib/internet-smtp" +require "#{ENV['CCI_SRC']}/lib/mail-post"
On Wed, Oct 21, 2020 at 09:27:57AM +0800, Luan Shengde wrote:
invoke mail-post/internet-smtp to run the send mail service
Signed-off-by: Luan Shengde luanshengde2@huawei.com
container/send-internet-mail/run.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 container/send-internet-mail/run.rb
diff --git a/container/send-internet-mail/run.rb b/container/send-internet-mail/run.rb new file mode 100644 index 0000000..efda5b9 --- /dev/null +++ b/container/send-internet-mail/run.rb @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby
need append "# SPDX-License-Identifier: MulanPSL-2.0+". Thanks, Liushaofei
+require 'sinatra'
+irequire "#{ENV['CCI_SRC']}/lib/internet-smtp"
+require "#{ENV['CCI_SRC']}/lib/mail-post"
2.23.0