473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Application Tier HTML Email

Hello All,

I am hoping to hear other people's suggestions and advice regarding
this issue.
Generating and sending a basic HTML email with Microsoft.Net is easy.
I can throw some HTML together from strings, templates, excreta and
then fire it out to the world via System.Net.Mail.

If I want to generate a more advanced HTML email using the same the
same templates as my site I could write a component which uses screen
scrapping to grab the generated HTML , programmatically correct
relative URLs etc and send that via SmtpClient.Send();

Now for the sake of argument I say I want to generate a fairly
advanced HTML email (say an account statement, receipt, etc.) but I
want to do it entirely at the application tier or my application
doesn't actually have a traditional site so I don't have the luxury of
using IIS.

What approaches or components have you used to author and generate a
HTML email with a lot of dynamic data in a .Net environment?

Thanks,
Nov 23 '07 #1
2 1255
"bthubbard" <Br*************@gmail.comwrote in message
news:71**********************************@f3g2000h sg.googlegroups.com...
What approaches or components have you used to author and generate a
HTML email with a lot of dynamic data in a .Net environment?
I try to avoid HTML email if at all possible, as more and more people are
disabling it for (perceived) security concerns.

If I needed to email an account statement or a receipt, I'd create a PDF and
send it as an attachment.

I use this for all my PDF requirements: http://www.siberix.com/
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 23 '07 #2
For both my HTML and Text based email sent from asp.net, I use a simple
tagging system

|FirstName| |LastName|

Your invoice is |Price|

Etc...

I've even managed to get looping to work using begin end tag type
markers
|LineItems||Description| |Price|
|/LineItems|

From there it's just a matter of string manipulation.
Dave Bush
http://blog.dmbcllc.com

-----Original Message-----
From: bthubbard [mailto:Br*************@gmail.com]
Posted At: Friday, November 23, 2007 11:38 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: Application Tier HTML Email
Subject: Application Tier HTML Email

Hello All,

I am hoping to hear other people's suggestions and advice regarding
this issue.
Generating and sending a basic HTML email with Microsoft.Net is easy.
I can throw some HTML together from strings, templates, excreta and
then fire it out to the world via System.Net.Mail.

If I want to generate a more advanced HTML email using the same the
same templates as my site I could write a component which uses screen
scrapping to grab the generated HTML , programmatically correct
relative URLs etc and send that via SmtpClient.Send();

Now for the sake of argument I say I want to generate a fairly
advanced HTML email (say an account statement, receipt, etc.) but I
want to do it entirely at the application tier or my application
doesn't actually have a traditional site so I don't have the luxury of
using IIS.

What approaches or components have you used to author and generate a
HTML email with a lot of dynamic data in a .Net environment?

Thanks,

Nov 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kornl | last post by:
Hello, does anyone has any experience in developing n-tier applications in python? If yes would you like to share your experience? What turn out good and bad?? In your experience, how is a python...
77
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a...
2
by: Will | last post by:
Hi all. I'm beginning to think about how to write a new app at work. I'd like to design the app with scalability concerns addressed. We run SQL server for the data tier. I'd like to create some...
2
by: Pablo | last post by:
My application uses a class to access to the dataBase, there are several ones who are bussines objects (and uses the first one to work with the database) and, finally, I have the interface objects....
2
by: Alex | last post by:
Hi all, I'm writing a small web application which searches a database based on a date field, and populates a datagrid control with the results. The datagrid control has selection buttons added...
4
by: Trevor Andrew | last post by:
Hi There, Hopefully this isn't too difficult a question to express here. I have a 3 tier application. 1. Presentation Tier: ASP.NET web application. 2. Middle Tier: ASP.NET Web Services that...
2
by: msnews.microsoft.com | last post by:
Hello, I have the scenario. I m building an application either in asp.net or window application. This application is base on n-tier application model. Let us take example of Northwind Database in...
2
by: Sachin Thamke | last post by:
Hi I understood the 3-tier application but i have some questions Step- UI->Business Process Layer 1.Howt to Pass the data from UI to middle layer a. object.property=textbox.value b. create...
13
by: mehdi_mousavi | last post by:
Hi folks, In an N-tier application, what is the possible values of N??? I'm not kidding, I just interviewed with a programmer today, and he started the "2-tier application" conversation. From then...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.