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
2
votes
0 answers

Why is our server sending multiple copies of one email?

Overview From our MVC web app we are sending emails. We send 2,000 each time, once per day. We send the emails one at a time to Postmark to process and deliver. The connection with Postmark is via SMTP which is setup in Web.Config:
amartin
  • 330
  • 2
  • 4
  • 17
2
votes
1 answer

USPS Shipping API Standard Post Machinable tag

Ok so I've been trying to days now to figure out how to use the USPS shipping API to get the shipping rate of a package under the service "Standard Post". I can do media mail, priority mail and first class but every time I try to do "Standard Post"…
user796679
  • 69
  • 1
  • 2
2
votes
1 answer

Asp.net sending html emails with MVC.Postal. Clients seeing raw html in the emails

We are trying to send html email via MVC postal nuget package. The problem is some clients are seeing raw html tags in the email. Sending the same email to gmail and a few other providers causes no issues. Any ideas? We are following the simple…
StackThis
  • 1,262
  • 1
  • 14
  • 23
2
votes
1 answer

Postal add custom header

I am using Postal.NET for email in my C# MVC application: http://aboutcode.net/postal/ I am using SendGrid for sending out emails. Sendgrid requires custom header arguments to be sent using the "X-SMTPAPI" header attribute. How can I add custom…
Abhi
  • 29
  • 3
2
votes
3 answers

Select records based zipcode, it's radius, lat and lon in MySQL

Below is my company table with it's postalcode, lat, lon and the radius in kilometers where each company is able to provide his services. id company_name city postalcode radiu latitude longitude 1 A …
O Connor
  • 4,236
  • 15
  • 50
  • 91
2
votes
0 answers

MVC Postal conflicting with _viewstart

My app is producing the error Object reference not set to an instance of an object. For some reason Postal is giving an error with the layouts in the root _ViewStart.cshtml specifically the first if statement which is shown…
user2806570
  • 821
  • 2
  • 12
  • 25
2
votes
2 answers

Send Scheduled Email using Azure Scheduler / Postal / MVC

My project is hosted on Azure, and I would like to send an email every morning to users who have forgotten to complete certain tasks in my application. I have my email built (sending using Postal). If I run the function itself, the emails send as…
Daniela
  • 657
  • 1
  • 10
  • 25
2
votes
0 answers

Postal in ASP .Net 5 (Mvc 6)

Has anyone successfully used Postal in an Asp.Net 5? I tried installing Postal.Mvc5 Nuget package in an MVC 6 project, and although the project compiled it gave runtime errors, specifically the following: An unhandled exception occurred while…
BruceHill
  • 6,954
  • 8
  • 62
  • 114
2
votes
1 answer

The virtual path '/' maps to another application, which is not allowed

I've an application developed in Asp.NET MVC, and I'm using the Framework Postal MVC, that is used to send Views as E-mail. It was working properly, without problem, however, today, started to show me the following message: The virtual path '/'…
Dan
  • 1,518
  • 5
  • 20
  • 48
2
votes
2 answers

How to Set SMTP Client in POSTAL MVC not in WEB.Config

i have a problem when using POSTAL MVC in my Project. My hosting services company requires me to set smtp client config in code not in web config. How to do that ? I hope someone can give me a solution Thank you.
2
votes
0 answers

About Postal outside of ASP.NET

I'm using Postal library for sending emails in an ASP.NET MVC5 Web project. It works fine when called from a controller. However, I planned a number of jobs to send emails using fluentScheduler. And I am calling a method that sends emails using the…
WLegend
  • 43
  • 6
2
votes
1 answer

Page times out sending emails, even though emails are sent

This issue has left me stumped. This question may need to be migrated to Server Fault, but there is a programming component, so I figured I'd start there. Also, our infrastructure team ardently believes everything is fine on their end, but that…
Chris Pratt
  • 232,153
  • 36
  • 385
  • 444
2
votes
3 answers

Using gmail address to send out emails with Postal

I'm trying to send out an email from my Gmail account using Postal: dynamic email = new Email("Appointment"); email.To = "sergiotapia@outlook.com"; email.Send(); And I get this error: System.Net.Mail.SmtpException: {"The SMTP server requires a…
sergserg
  • 21,716
  • 41
  • 129
  • 182
1
vote
1 answer

Installing Postal Error:'./docker-compose.yml' is invalid, Unsupported config option for services.runner: 'profiles'

I tried to Install the postal Mail server. But there is a problem with the "docker-compose.yml". I get the following Error Message: "ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported config option for services.runner:…
1
vote
3 answers

How to extract postal code from a string of text into a new column, in R?

I have a dataframe of >10,000 rows. Column c is the column containing the full address in string, including the postal code. I would like to extract the postal code digits (6 digits) into a new column. All 6-digit postal codes come after the word,…
Grace
  • 201
  • 2
  • 13