我使用以下方法使用SMTP从Python发送邮件。我已经多次尝试运行这个代码,这是正确的,但它总是告诉我,同样的错误,有谁可以帮助我在这方面。TEXT = 'Here is a message from python.'
gm = 'www'
server = smtplib.SMTP('smtp.gmail.com', 587)
但是,我一直收到错误:D:\Program Files\Microsoft Visual Studio\MSBuild\Microsoft\VisualStudio\v16.0\Web\Microsoft.Web.Publishing.targets(4284,5): msdeploy error ERROR_DESTINATION_NOT_REACHABLE: Web deployment task failed.On the remote computer, make sure that Web Deploy is i