【问题标题】:Applescript: Emailing a http linkApplescript:通过电子邮件发送 http 链接
【发布时间】:2014-07-01 05:52:48
【问题描述】:

我创建了一个applescript 程序,该程序以电子邮件发送一些预定义的文本(包括一个链接)结束,但我不知道如何制作它,因此网址实际上是一个链接,而不仅仅是文本。 有人知道我会怎么做吗?

到目前为止,这是我的代码:(并不是这个问题真的需要它)

set theFile to choose file    tell application "Finder" to set fileName to name of theFile
set fileName to (text 1 thru ((length of fileName) - 3) of fileName)
set presetText to "Hello,
Files Uploaded:

" & fileName & "

To access our FTP Server: 
http://217.207.130.162:8080/WebInterface/login.html   

To access our FTP server, log onto our website below: 

Username: 
Password: 


Thanks, 
Joe"

tell application "Mail"
activate
set theMEssage to make new outgoing message with properties {visible:true, subject:fileName, content:presetText}
end tell

【问题讨论】:

  • 没什么可做的。发送电子邮件后,收件人可以点击链接。它自动发生。通过将电子邮件发送给自己进行测试。
  • 感谢 regulus,如果您将此作为答案,我会将其标记为正确。

标签: http email hyperlink applescript


【解决方案1】:

正如我在对您的帖子的评论中提到的,没有什么可做的。发送电子邮件后,收件人可以点击链接。它自动发生。通过将电子邮件发送给自己进行测试。

【讨论】:

    猜你喜欢
    • 2016-04-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-03-10
    • 2012-09-23
    • 2019-07-17
    • 2018-08-28
    • 2015-08-29
    相关资源
    最近更新 更多