I really like your extension! I've been looking for something similar for a loooong time! :D
I've been "playing" with perplexmail for three days and I have a couple of question:
is possible to change the subject of the email from the code? I'd
like to have the subject localized too, but I saw that the
if-then-else statement works only if it is placend into the content.
So I tried to change the subject manually depending on the language
passed but it seems the subject can be changed from the umbraco backoffice only, am I right?
if I don't specify any recipient in the mail node (tab Settings) the mail send fails even if in the code I have a filled List
thanks for the feedback and taking time to try out our package! Really good to hear you like it :)
The subject of the mail works just like personalization in the mailadresses or body of the mail. Just add in [#subjectline#] or something like that in the subject, and add this as a pair to your code.
This is a known bug that we plan on solving next week. The easiest workaround is to add [#to#] to in the mailnode, and fill the [#to#] dynamically from code. I will leave a comment here when we update the package next week and this bug will be solved.
I have just uploaded a new version of the PerplexMail package which should fix the bug which you encountered in your second question. You should now be able to send your emails again without having to specify any to/cc/bcc recipients in Umbraco!
Awesome!
Hi!
I really like your extension! I've been looking for something similar for a loooong time! :D
I've been "playing" with perplexmail for three days and I have a couple of question:
is possible to change the subject of the email from the code? I'd like to have the subject localized too, but I saw that the if-then-else statement works only if it is placend into the content. So I tried to change the subject manually depending on the language passed but it seems the subject can be changed from the umbraco backoffice only, am I right?
if I don't specify any recipient in the mail node (tab Settings) the mail send fails even if in the code I have a filled List
Thank you so much!
HFYR!
Hi Stefano,
thanks for the feedback and taking time to try out our package! Really good to hear you like it :)
The subject of the mail works just like personalization in the mailadresses or body of the mail. Just add in [#subjectline#] or something like that in the subject, and add this as a pair to your code.
listOfTags.Add(new PerplexMail.EmailTag(‘[#subjectline#]’,’Hello world'));
This is a known bug that we plan on solving next week. The easiest workaround is to add [#to#] to in the mailnode, and fill the [#to#] dynamically from code. I will leave a comment here when we update the package next week and this bug will be solved.
Regards, Jeffrey
Hey Stefano,
I have just uploaded a new version of the PerplexMail package which should fix the bug which you encountered in your second question. You should now be able to send your emails again without having to specify any to/cc/bcc recipients in Umbraco!
Thank you so much!
I'm gonna download and update it immediately!
Best regards,
S
is working on a reply...