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
0
votes
1 answer

MvcMailer with Form

im a noob and i would like to have a app with a form to send emails, this is the code I want to Modify: var mailMessage = new MvcMailMessage { Subject = "welcome" }; mailMessage.To.Add("windchester**2@gmail.com"); …
0
votes
1 answer

Trying to call code in my controller but getting Null Reference error

Don't want to over-complicate the issue, but I think I need to post all the code that's hooked into this error. Using MvcMailer and introduced a separate Send mechanism (for use with Orchard CMS' own EMail). The MvcMailer Code: 1)…
REMESQ
  • 1,190
  • 2
  • 26
  • 60
0
votes
0 answers

How to effictively send custom email with MvcMailer?

I need to send like 100 000 mails, so I need my process to be efficient. We are using MvcMailer because the enables us to use Razor as the template engine. My problem : the resulting email is in 2 part: A common part for everyone A custom part for…
remi bourgarel
  • 9,231
  • 4
  • 40
  • 73
0
votes
1 answer

How can I remove MvcMailer, T4Scaffolding, and other dependancies and restore my program?

I tried to install MvcMailer and as soon as I added the package my project it died. I started getting all kinds of error messages concerning dependency conflicts with different versions of T4Scaffolding..versions 1.0.7 and 1.0.8. So I uninstalled…
CloudyKooper
  • 727
  • 3
  • 19
  • 47
0
votes
0 answers

(asp.net mvc) send letters from two different e-mails at the same time

I send letters to users from my1@gmail.com (I'm using MvcMailer for it). But I also need to send copies of this letters from another e-mail - my2@gmail.com - at the same time. How could it be implemented?
jford
  • 1
0
votes
1 answer

MVC Mailer pass a model to the mail view

I'm using the MVC Mailer - I have this in my controller: // // POST: /ExhibitorInterest/Create [HttpPost] public ActionResult Create(ExhibitorInterest exhibitorinterest) { if (ModelState.IsValid) { …
Mark
  • 7,778
  • 24
  • 89
  • 147
0
votes
1 answer

MVCMailer Scaffolding not working

I used NuGet Package Manager to install MVCMailer in VS2012 Express Web - and got a green tick, to indicate it had installed correctly. However, when trying to setup a template/view, using the Scaffold command, I see the following: PM> Scaffold…
Mark
  • 7,778
  • 24
  • 89
  • 147
0
votes
1 answer

Trying to pass calculated values to a view without a controller

I am using MvcMailer and trying to pass calculated values. These values are calculated after the user inputs information into a wizard form (textbox, radio button list, etc.). Sorry if this is lengthy, but I want to give as much context as possible…
REMESQ
  • 1,190
  • 2
  • 26
  • 60
0
votes
1 answer

Can you use a URL to embed an image inline in MVCMailer

In looking at the MVCMailer step by step, I see that you can embed images inline using cid in the HTML. https://github.com/smsohan/MvcMailer/wiki/MvcMailer-Step-by-Step-Guide I see the code that talks about embedding: @Html.InlineImage("logo",…
OpTech Marketing
  • 417
  • 2
  • 6
  • 19
1 2 3 4 5 6 7
8