EMS email notifications fail when SMTP username contains special characters
Applies to
- ONTAP 9
- EMS (Event Management System)
Issue
EMS (Event Management System) email notifications are not delivered to the configured SMTP server, even when the configuration appears correct.
Typical observations include:
- EMS event filters and destinations are configured successfully (How to configure event filter and event notification for email destination)
- Test events are generated (How to generate EMS Events manually for testing purposes)
- No entries are observed in the
event notification history show -destination <email_server>for email delivery - No recent configuration changes or maintenance activities are identified
The following errors are observed in notifyd logs:[kern_notifyd:info:2453] 0x8105f2600: 0: ERR: EMS::EMAIL_HANDLER: Email delivery to address: mailadress@mail.domain.com through mailhost Hostname:password@mail.domain.com:password@mail.domain.com failed. Reason: URL using bad/illegal format or missing URL[kern_notifyd:info:2453] 0x8105f2600: 0: ERR: EMS::EMAIL_HANDLER: URL rejected: Port number was not a decimal number between 0 and 65535
