MvcMailer icon indicating copy to clipboard operation
MvcMailer copied to clipboard

MVCMailer is taking out all the class definition.

Open jmogera opened this issue 11 years ago • 1 comments

We are using asp.net MVC 3, and the MVCMailer together. In our _Layout.cshtml file, we have a div's that have class associated with them.

i.e.

We are also pointing to an external css class like this:

The someClass definition is in the email.css.

When we inspect the html of the email, we noticed that

doesn't have the class added to it anymore. Is MVCMailer taking it out? Or We are not setting up the css files correctly?

jmogera avatar Jul 30 '13 20:07 jmogera

Drop the mail into a pickup directory and see the contents. I'm pretty sure your email client is stripping off the styles.

Sohan http://smsohan.com skype:smsohan | gtalk:sohan39 | cell: 403-714-2673

On Tue, Jul 30, 2013 at 2:36 PM, Jason Mogera [email protected]:

We are using asp.net MVC 3, and the MVCMailer together. In our _Layout.cshtml file, we have a div's that have class associated with them.

i.e.

We are also pointing to an external css class like this:

The someClass definition is in the email.css.

When we inspect the html of the email, we noticed that doesn't have the class added to it anymore. Is MVCMailer taking it out? Or We are not setting up the css files correctly?

— Reply to this email directly or view it on GitHubhttps://github.com/smsohan/MvcMailer/issues/103 .

smsohan avatar Jul 30 '13 20:07 smsohan