Howdy,
Getting my feet wet with VeraAlerts and already love how much more compact they are compared to the default Vera notifications!
Running into a few questions I can’t seem to find answers for here or the VeraAlerts page:
- Most of my notifications are short and I’d like them to appear as the subject line for my SMTP-Mail notifications. I’ve tried setting up the Subject field in my SMTP-Mail profile to ‘[tt]{Description}[/tt]’ and confirmed it’s reflected in the advanced tabs profile stuff. But when I get an alert, the email subject is literally the text ‘[tt]{Description}[/tt]’, not being replaced with a description of the notification.
I’d prefer a global solution to having to override the subject for every notification. Is there a way to construct a default Subject line in the SMTP-Mail profile that has template/tokens in it?
- On that topic, when I do want to override the subject for a notification, how do I include a template token in the subject of message override? For example, I set my message override for a notification to ‘[tt]{Description} {Subject={Device} On}[/tt]’
The received subject line I see is literally ‘[tt]{Device} On[/tt]’ instead of ‘[tt]49 On[/tt]’. Is there a way to include template/tokens in a message overrides Subject token?
- On the From header for an emailed notification, I want my email client to show a name, not just an email address. In most email programs (and SMTP specs), the way you do this is a name with the email address in angle brackets. Like “My House gerry@somewhere.net” (no quotes). Most email clients will then show just ‘My House’ in the From field (though the entire thing is there if you look at the headers).
When I enter that into the SMTP-Mail profile as the From line, I receive email that looks like (from the header of the message):
[tt]From: “My House gerry@somewhere.net” gerry@somewhere.net[/tt]
So it’s combining the name and email address as the name (and then sort of doubling down on the email address). Is there a way to specify the name and email address in the SMTP-Mail profile From line?
Thanks so much – already purchased a 2 profile license and once I get this all ironed out, may be adding another one for pushover notifications too.
Gerry