Email notification via window script #118798
Replies: 3 comments
-
This is a nice project but why did you share it here? |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
@echo off
set TrueString=true
set FalseString=false
if "%TrueString%"=="true" (
set SMTP_SERVER=smtp.abc.com
set FROM_ADDRESS=[email protected]
set TO_ADDRESS=[email protected]
set SUBJECT=Success Message
set BODY=This is a success message.
) else (
set SMTP_SERVER=smtp.abc.com
set FROM_ADDRESS=[email protected]
set TO_ADDRESS=[email protected]
set SUBJECT=Failure Message
set BODY=This is a failure message.
Beta Was this translation helpful? Give feedback.
All reactions