Questions tagged [postal]

Postal lets you create emails using regular ASP.NET MVC views.

Postal is an email library for ASP.NET MVC.

Main Project Site: http://aboutcode.net/postal

80 questions
1
vote
0 answers

MVC 4 Email.Send Error

I am using Postal to send a confirmation email to a new registered user. But it gets caught in when it hits email.send();. Here is my controller code: public ActionResult Register(RegisterModel model) { if (ModelState.IsValid) { …
PatrickMelia
  • 87
  • 1
  • 13
1
vote
1 answer

Exception thrown when using Glimpse and Postal

I'm just starting to use Glimpse with my MVC5 project and have run into an issue when I use Postal to send an email without disabling Glimpse. I've been able to narrow it down to an issue with both packages - it doesn't occur if the Glimpse cookie…
Elsimer
  • 1,878
  • 3
  • 18
  • 33
1
vote
1 answer

English Email Displays Chinese-like Characters

I'm using Postal to send emails with an HTML and Text portion. When the email is sent to Gmail, it is displayed correctly. However, when it is displayed in at least two other email systems (Mail Enable's webmail interface, and an unknown system at…
Eric J.
  • 147,927
  • 63
  • 340
  • 553
0
votes
2 answers

Postal mail server codebase; "logged_in?" method not defined in ApplicationController

I just got to know of postal a few days ago and I'm very excited about all the features it offers out of the box for free. But as a junior rails dev, I'm tempted to play around with it to see if I can add my own features. I've managed to set it up…
0
votes
1 answer

Javascript limit input to specific numbers

I wanted to create an input field for a postal code check, i found number ranges to not work, as they arent all sequential: In Dresden one postal code is 01157 but the next one is 01169, so a simple range won't do. Is it possible to have all the…
0
votes
1 answer

How do you access .NET Framework default SMTP service in Azure Functions? Using Postal in Azure Function

We are moving certain background methods that send emails to Azure functions. Our emails are currently built and sent using Postal Postal uses .NET Framework’s built-in SmtpClient, which has connection details defined in a web.config file for our…
amartin
  • 330
  • 2
  • 4
  • 17
0
votes
1 answer

Unable to install Postal to VPS

I'm trying to install Postal to my VPS via command: curl https://raw.githubusercontent.com/atech/postal/master/script/install/ubuntu1604.sh | sh But face error mentioned below : Err:8 https://www.rabbitmq.com/debian testing Release 404 OK E: The…
0
votes
0 answers

Net Core send email background service with Postal and Hangfire

I'm trying to send emails using Hangfire and Postal, but I'm having problems with the HTTPContext. If I execute the shooting through a controller the sending is done without problems, now if I execute a job via Hangfire an expection is…
Tiago
  • 2,156
  • 2
  • 18
  • 27
0
votes
0 answers

Email view not found for 'model' in Postal.MVC

I am using Postal.MVC5 in my ASP MVC5 project. Initially i had my smtp configuration in web.config so this piece of code was working just fine and was able to send email successfully. public async TaskSendEmail(EmployeeViewModel…
sanjeev
  • 765
  • 1
  • 7
  • 15
0
votes
1 answer

Where to get worldwide City name, State/Province name, Postal/Zip code, Country, Latitude, Longitude data for free

For this site "http://download.geonames.org/export/zip/" I cant get only 85 countries. I referred "www.maxmind.com" they not provide postal/zip code.
Lavanya
  • 65
  • 1
  • 12
0
votes
1 answer

Asp.Net Postal MVC - The name 'Html' does not exist in the current context

I'm using asp.net Postal to send emails using a background job - Hangfire to be precise. In my template I have the following code: @Html.Raw(Model.Post.PostContent) but i'm getting the following error: The name 'Html' does not exist in the current…
adam78
  • 9,668
  • 24
  • 96
  • 207
0
votes
1 answer

_viewStart.cshtml does not inherit System.Web.WebPages.StartPage in web api 2.0 application

I have a web api 2.0 application I want to add view handling to. I am using postal.mvc5 and want to send an email from within the application. I have the regular controller routing solved, and am now down to the final error to solve. The…
Timothy Dooling
  • 470
  • 1
  • 4
  • 17
0
votes
1 answer

Sending email through postal mvc

I'm trying to send an email everytime the user creates a new comment. I've already installed the package Postal.MVC5 Comment Model public int Id { get; set; } [Required] [MinLength(3)] [MaxLength(20)] public string Asunto { get;…
Syrup72
  • 116
  • 1
  • 12
0
votes
1 answer

Email created with Postal contains database query instead of string value

In my application you can assign tasks (TaskDetails) to a person (Employee) who then receives an email notification on his/her email address pulled from the db containing the title of the task. I'm using Postal for this. In the Create method for…
Noor
  • 3
  • 2
0
votes
0 answers

Postal - How to send email to dynamic network address

Using Postal in an MVC 5 solution and I got Postal to work when sending to an address defined in Web.config but what I'm wanting to do is send it to a person as defined in a DB. In other words I have 3 admins on the site I'm developing and I want…