Passing a variable in a mail message subject field

Begonnen von homer, 20 April 2014, 16:19:33

Vorheriges Thema - Nächstes Thema

homer

Hi All,

Can you tell me if there's a way to add a variable to the subject field of an email message? I have the following:

#For IOS, using Prowl
define myMsgIOS MSG
define myMailIOS MSGMail xxxxxx@gmail.com xxxxxxxxxx@api.prowlapp.com smtp.gmail.com /opt/fhem/msgmailauth
attr myMailIOS CR 0
attr myMailIOS authfile /opt/fhem/msgmailauth
attr myMailIOS from xxxxxx@gmail.com
attr myMailIOS smtphost smtp.gmail.com
attr myMailIOS smtpport 465

attr myMailIOS subject I want to pass a variable here: $variable

attr myMailIOS to xxxxxxxxxxxxxxxxx@api.prowlapp.com
set myMsgIOS send myMailIOS

Any ideas?

Thanks
Homer