473,811 Members | 3,402 Online
Bytes | Software Development & Data Engineering Community
+ 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 1029
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********@dis cussions.micros oft.comwrote in message
news:29******** *************** ***********@mic rosoft.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
11924
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 following import win32com.client
4
5695
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 implement them or rather make it work. Is there a fininshed cpan module that can do this? I didnt find one though. Second, what if i want to use verisign/thawte digital certs for email
10
4992
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 working with we put these mailshots in the bcc field of the mails. This can sometimes cause a problem as we are getting alot of mails bounced back. I would like to write a script to have these emails sent out individually using the to: field of the...
4
1991
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 right after subscribing Microsoft Newsgroups, don't tell me that Microsoft Newsgroups can't control these things. I hope others are also facing these problem.
1
1357
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. But Outlook still has them. I run WebDAV program again and couldn't find them. Is there cache in Outlook that I need to clean it? Thanks in advance. Li
2
17734
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
2453
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 each member to choose different category of products or all products newsletter.
7
1452
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 emailing part seems to work fine - no errors, except that the emails don't get sent until the application/service is exited. As soon as I quite the application, the emails are sent and arrive in my inbox. I need the emails to be sent without...
0
3441
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 to a PDA/palmtop via POP3. The PDA uses Windows Mobile software. Since using the PDA, I have had the problem of emails disappearing from the Yahoo! server. However I think I now understand how to avoid this. It seems that Windows Mobile is...
0
9726
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10384
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7667
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5553
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.