我想从入站电子邮件中提取 URL,然后 http:get() 该 URL。如何访问邮件正文?
select when mail received from "(.*)@example.com" setting user
pre { /* extract first URL from message */ }
http:get(URL);
鉴于以下电子邮件消息,PRE 块中的内容:
From: Example User <user@example.com>
To: x202 Endpoint <a101x202@kynetxapps.net>
Subject: An interesting URL
http://www.example.net