Questions tagged [mvcmailer]

MvcMailer provides you with an ActionMailer style email sending NuGet Package for ASP.Net MVC 3. So, you can produce professional looking emails composed of your MVC master pages and views with ViewBag.

MvcMailer is an ASP.NET MVC Mailer, inspired by Ruby on Rails ActionMailer, that helps composing Email body using regular ASP.NET MVC views.

Step by step guide: https://github.com/smsohan/MvcMailer/wiki/MvcMailer-Step-by-Step-Guide

Introduction: http://www.codeproject.com/KB/aspnet/MvcMailerNuGet.aspx

Installation

MvcMailer can most easily be installed through its NuGet package.

Install-Package MvcMailer
114 questions
1
vote
0 answers

How to send email with confirmation link using MVC Mailer with Web API?

I am trying to send an email with confirmation link using MVC Mailer and Web API in C#. I am able to send the email using mvc mailer. But I am not able to get the link working using MVC Mailer. Appreciate your help on this. The SendValdationEmail()…
Saritha
  • 19
  • 11
1
vote
2 answers

Best Way to Send Scheduled E-Mail in .NET MVC3 Application using MVCMailer

I am working on a .NET MVC3 C# Application. This application is hosted on our own Server. Now I want to Send Scheduled Email in my application like daily(at a specific time),Weekly, monthly and so on... Currently I am using MVCMailer to send Emails…
blue
  • 568
  • 3
  • 10
  • 30
1
vote
1 answer

MvcMailer reference (Mvc.Mailer) not showing

I installed the package MvcMailer for MVC4 project, but it does not show up in the reference area. I'm not able to do a reference for the IUserMailer.cs There should be a reference for Mvc.Mailer? I'm using VS 2012 and .NET 4.5
user1929393
  • 4,089
  • 7
  • 30
  • 48
1
vote
1 answer

MvcMailer.dll is missing in installing nuGet Package in asp.net MVC 4

I'm trying to use MvcMailer in Mvc 4 using Razor I've followed follwing tutorial. http://dotnet.dzone.com/news/sending-emails-using-mvcmailer but, after installing nuGet package, MvcMailer.dll file is missing every time, and because of it,…
Rahil
  • 281
  • 1
  • 4
  • 13
1
vote
0 answers

ASP.NET - MvcMailer - Email Certificate

I am using ASP.NET MVC 4 with MVCMailer, I tried to send e-mails with a email certificate from COMODO to keep server messages secure: http://www.comodo.com/home/email-security/free-email-certificate.php Does anyone know if is possible to add a email…
Michel Andrade
  • 4,056
  • 5
  • 27
  • 28
1
vote
1 answer

How to send any view using MvcMailer in MVC 4?

I'm using MvcMailer to send an email. I just specify the view's name, and it can be sent via email. But my question is, does it have any constraint with the view's name? I mean, for example, I want to send the Index view in the Home controller, what…
Triet Doan
  • 11,455
  • 8
  • 36
  • 69
1
vote
0 answers

VS2012 + Nuget: MvcMailer Reference not being added after installing packages

I have seemingly messed something up in my VS2012 solution and cannot figure out what has changed. I am installing a package through "Manage Nuget Packages" window (right-click on "References" in project). The install succeeds, however, the…
REMESQ
  • 1,190
  • 2
  • 26
  • 60
1
vote
1 answer

MVCMailer sending multiple Messages with no body

I'm using ASP.Net MVC 4 and MVCMailer 4.0 from Nuget. When I create a message and send it to the scaffolded Welcome message everything works fine and I'm able to send the email just fine (the only thing is that its in plain text where as I have html…
hjavaher
  • 2,589
  • 3
  • 30
  • 52
1
vote
1 answer

MvcMailer and Orchard 1.6

I'm trying to integrate MvcMailer in Orhcard 1.6 but I have this error: 'HttpContext.SetSessionStateBehavior' can only be invoked before 'HttpApplication.AcquireRequestState' event is raised. in file Orchard\Mvc\Routes\ShellRoute.cs line 54 I tried…
nicolo
  • 51
  • 1
  • 4
1
vote
1 answer

Using MVCMailer with ASPNETDB

I am trying to setup MVCMailer to use the Email and UserId that were setup when they registered with the website. I used the stock MVC framework to setup the user registration framework and thus the ASPNETDB.MDF DB is used to keep track of email…
Goldentp
  • 187
  • 1
  • 7
  • 28
1
vote
1 answer

Sending many emails with MvcMailer at once

I have an MVC3 web application and i am using MvcMailer to send out email (potentially thousands at once). This is working fine if i just BCC each recipient into the same email, but if i try to loop through them sending them individual emails it is…
Ben
  • 5,525
  • 8
  • 42
  • 66
1
vote
2 answers

Can't figure out how to do attachments with MvcMailer

Exactly how, and where, do I place the actual file location for the string attachmentPath: public virtual MailMessage Welcome(string attachmentPath) { var mailMessage = new MailMessage{Subject = "Welcome to MvcMailer"}; ... …
REMESQ
  • 1,190
  • 2
  • 26
  • 60
1
vote
1 answer

Nuget scaffolding installation failure

I am trying to install scaffolding package in VS2010 SP1 in MVC4(aim is to user MvcMailer), here are the command I run PM> install-package T4Scaffolding PM> install-package MvcScaffolding and installing T4Scaffolding gives me this…
SSA
  • 5,433
  • 4
  • 36
  • 50
0
votes
2 answers

How the path should be when including images into MvCMailer Mail

im trying to embed an image when sending an email with MvCMailer like this: Dictionary resources = new Dictionary(); resources["logo"] = new Uri(new Uri(string.Format("{0}://{1}{2}",…
Stacker
  • 8,157
  • 18
  • 73
  • 135
0
votes
1 answer

Using MvcMailer from Global.asax

Have developed an MVC3 application which monitors when users access static content on the web server, debiting the users balance each time. This logic happens in the "Application_AuthenticateRequest" event of Global.asax (I've read previously this…
Mr Chris
  • 1,210
  • 2
  • 12
  • 18