cofoundry-cms / cofoundry

Cofoundry is an extensible and flexible .NET Core CMS & application framework focusing on code first development

Home Page:https://www.cofoundry.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Postmark

sourabhCofoundry opened this issue · comments

Hello, everyone I have faced one issue in cofoundry . I have implemented PostMark in cofoundry for sending Emails but face an issue . Emails sent successfully but Data not sent.

For e.g code

var message = new TemplatedPostmarkMessage
                {
                    From = postFromEmailAddress,
                    To = sendNotification.toEmail,
                    TemplateAlias = "welcome",
                    TemplateModel = new Dictionary<string, object> { { "Sender_Name", "Sunny" } }
                };
                var client = new PostmarkClient(postMarkKey);
                await client.SendMessageAsync(message);

I have sent the user name under the "Sender_Name" properties it's not been sent.

This doesn't look like a Cofoundry issue, I can't see any Cofoundry specific code here.

FYI you can format code using markdown (backticks) or by highlighting your code in the comment box and clicking on the <> button at the top of the editor.

Yes, this is not cofoundry code but I have implement this code in cofoundry project .

HeyJoel - May be cofoundry does not support postmarks because I have to try create new project and Implement this not working.

Any update on it and one suggestion for you please check once postmark your side. Because it's a major issue.