SendMail not Woring
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2021
07:49 PM
10-12-2021
07:49 PM
SendMail not Woring
Hi There,
I use buildin SendMail to send email after all test items finished, below is my very simple code example: (toAddress / fromHost / fromAddress are right and valid)
const toAddress = "guest2@ourunited.com"
const fromHost = "smtp.ourunited.com"
const fromName = "guest1"
const fromAddress = "guest1@ourunited.com"
const subject = "test sending email"
const body = "test email body"
if (SendMail(toAddress, fromHost, fromName, fromAddress, subject, body)) {
Log.Message("Successfully!")
} else {
Log.Message("Fail!")
}
It threw error after test items were executed, report as below:
Anything am I incorrect? Please provide some useful help to me, thanks!
Solved! Go to Solution.
Labels:
- Labels:
-
Test Results
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2021
03:03 AM
10-14-2021
03:03 AM
Any thought on this? the error information is useless for me
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2021
02:00 AM
10-15-2021
02:00 AM
Use fake fromAddress to resolve this issue
