473,466 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Suggestions for .NET Emails Please

Hi,
Currently I have a VB.NET app which sends an HTML email to a customer. The
email has a textbox form field and submit button. The customer inputs a
date, clicks submit and that form sends the information to an ASPX page we
have on our webserver which updates the database with the information.

The problem is that some email programs like Outlook will not Submit the
form properly, due possibly to the security settings. So what we intend to
do is add a link button at the bottom of the email saying "If you're having
trouble with the Submit button 'Click Here' to input your date".
When they "click here" it'll bring them to an ASPX webpage where they can
input the date. The webpage will look exactly like the email.

The issue is that i do not want to duplicate the HTML code in the program
which sends the emails, and the ASPX page, because if the email needs to be
redesigned, i'll also need to redesign the webpage.

Is there a way for the two apps to share an HTML template? I was hoping
that I could somehow store an HTML file in SQL and either program could get
the template there. I tried this but could not see how to do this.

Any advice would be greatly appreciated.

Thanks,
John
Sep 21 '07 #1
1 1002
Is there a reason you don't just write a method to dynamically
create the section of the page. Then, call it in in the aspx page itself
or when you generate the email? Each of the html controls has
a RenderControl that enables you to extract the html.

--
Robbe Morris [Microsoft MVP - Visual C#]
..NET PropertyGrid Control - ListBox, ComboBox, and Custom Classes
http://www.eggheadcafe.com/tutorials...d-control.aspx


"John Walker" <Jo********@discussions.microsoft.comwrote in message
news:29**********************************@microsof t.com...
Hi,
Currently I have a VB.NET app which sends an HTML email to a customer.
The
email has a textbox form field and submit button. The customer inputs a
date, clicks submit and that form sends the information to an ASPX page we
have on our webserver which updates the database with the information.

The problem is that some email programs like Outlook will not Submit the
form properly, due possibly to the security settings. So what we intend
to
do is add a link button at the bottom of the email saying "If you're
having
trouble with the Submit button 'Click Here' to input your date".
When they "click here" it'll bring them to an ASPX webpage where they can
input the date. The webpage will look exactly like the email.

The issue is that i do not want to duplicate the HTML code in the program
which sends the emails, and the ASPX page, because if the email needs to
be
redesigned, i'll also need to redesign the webpage.

Is there a way for the two apps to share an HTML template? I was hoping
that I could somehow store an HTML file in SQL and either program could
get
the template there. I tried this but could not see how to do this.

Any advice would be greatly appreciated.

Thanks,
John
Sep 27 '07 #2

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

Similar topics

40
by: ian | last post by:
Hi, I'm a newbie (oh no I can here you say.... another one...) How can I get Python to send emails using the default windows email client (eg outlook express)? I thought I could just do the...
4
by: Philipp Ott | last post by:
Hello! I m looking for a solution to generate a digitally signed mime-email with linux/perl and to feed/pipe this then to sendmail. I found RFCs related to mime-signed etc. but somehow fail to...
10
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we don't want different clients to see who we are...
4
by: ItsMe | last post by:
Dear All, I'm getting junk email with around 140-150 kb almost everyday and it my mailbox is getting full and this emails are full of virus effected attachments. And I'm getting these emails...
1
by: Li Weng | last post by:
Hi, I use WebDAV to move emails from one folder to another folder. The moving is ok. But some of emails still show up in the original folder. I use Outlook web Access to check, they are gone....
2
by: Uma | last post by:
Hi, I can send emails using SMPT but, don't know how to retrieve email using POP3 ==> Subject, Message Body and file attachments using VB.NET Can anyone help me please, thanks Uma
5
by: Jai | last post by:
Hi, I am in a problem of sending mass emails(newsletter) to my website members. Actually my problem is this: I want to send newsletter to my website members. But I had given a facility for...
7
by: merziyah | last post by:
I'm new to posting issues online, so bare with me... Does anyone have any clues on this: I have an application that is set to run as a service and it sends an email if an error is encountered. The...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.