Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Applescript:通过电子邮件发送http链接_Http_Email_Hyperlink_Applescript - Fatal编程技术网

Applescript:通过电子邮件发送http链接

Applescript:通过电子邮件发送http链接,http,email,hyperlink,applescript,Http,Email,Hyperlink,Applescript,我已经创建了一个applescript程序,它以通过电子邮件发送一些预定义的文本(包括链接)结束,但我不知道如何使其成为一个链接,而不仅仅是文本。 有人知道我会怎么做吗 这是我到目前为止的代码:(并不是说这个问题真的需要它) 正如我在对你的帖子的评论中提到的,没什么可做的。发送电子邮件时,收件人可以单击该链接。它是自动发生的。通过向自己发送电子邮件来测试它。无事可做。发送电子邮件时,收件人可以单击该链接。它是自动发生的。通过向自己发送电子邮件来测试它。谢谢regulus,如果你将此作为答案,我会

我已经创建了一个applescript程序,它以通过电子邮件发送一些预定义的文本(包括链接)结束,但我不知道如何使其成为一个链接,而不仅仅是文本。 有人知道我会怎么做吗

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


正如我在对你的帖子的评论中提到的,没什么可做的。发送电子邮件时,收件人可以单击该链接。它是自动发生的。通过向自己发送电子邮件来测试它。

无事可做。发送电子邮件时,收件人可以单击该链接。它是自动发生的。通过向自己发送电子邮件来测试它。谢谢regulus,如果你将此作为答案,我会将其标记为正确。
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