【发布时间】:2018-04-21 08:23:33
【问题描述】:
我有这个mailto链接:
mailto:email@address.com?&subject=test&body=type%20your&body=message%20here
我想找to、subject、body。
其实我用的是:
uri = URI('mailto:email@address.com?&subject=test&body=type%20your&body=message%20here')
<URI::MailTo mailto:email@address.com?&subject=test&body=type%20your&body=message%20here>
我有 :to :
uri.to
但我无法提取subject 和body。
你知道怎么做吗?
【问题讨论】: