0
我試圖用Viewpoint Ruby Gem向EWS端點發送消息。我只能以純文本格式發送消息。我怎樣才能以html格式發送它?Ruby Viewpoint Gem 1.27
下面是代碼:
Viewpoint::EWS::EWS.endpoint=Conf.application.email.ews.endpoint
Viewpoint::EWS::EWS.set_auth(Conf.application.email.ews.username,Conf.application.email.ews.password)
Viewpoint::EWS::Message.send(options[:subject],msg_str,to_addresses)
我看到有一個text_only「實例」的方法,但我不能初始化消息對象的實例來使用它。