CasualGriz Posted September 26, 2023 Report Share Posted September 26, 2023 Hello, I am trying to figure out how I would setup my macro so in the event and error occurred, I could have it open up Teams & send a message to my team. What type of IF statement would I use? Thank you, Quote Link to comment Share on other sites More sharing options...
Cory Posted September 26, 2023 Report Share Posted September 26, 2023 MEP has error handling. Read the help file "Catch Error / End Catch Error" section. When you are editing a command, look at the top and see there is an "On Error" tab. Quote Link to comment Share on other sites More sharing options...
acantor Posted September 26, 2023 Report Share Posted September 26, 2023 Macro Express has an "Email Send" command, which would eliminate the need to launch Teams or another program. I've never used this feature, so tried it just now and couldn't make it work. Perhaps if you know about MAPI, and about SMTP settings, perhaps you will have more success. Quote Link to comment Share on other sites More sharing options...
Cory Posted September 26, 2023 Report Share Posted September 26, 2023 I haven't looked at it in a long time so this might not be the case anymore, but I'll mention my experience long ago with this. I used the email function for a long time with good success, but then it stopped working when Microsoft required a TLS encryption. I don't think MEP supports SSL or TLS and there are no options for it. My fix was to use SendPulse. Provided you don't spend a large volume of email. it's a free SMTP server and didn't force the user to encrypt. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.