SendEmailNotifictaion 抛出 smtphost 错误

SendEmailNotifictaion throwing smtphost error

我正在通过调用使用 SendEmailNotification 来发送电子邮件。它抛出一个错误

"List of params for Method or activity that this step is calling— Property @baseclass.gmail is undefined."

这是我使用smtp.gmail.com作为smtphodt的时候。当我将其更改为 smtp.yahoo.com 时,它显示 "List of params for Method or activity that this step is calling— Property @baseclass.yahoo is undefined."

感谢帮助!

通过将 smtp.gmail.com 放在双引号中解决了这个问题。