ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1733
Number of posts: 3304

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Formatting an e-mail Posted by Persephone on 10 Nov 2004 at 1:25 AM
Hello,

I've created a form where the user enters certain information. This information is then to be sent in an e-mail. How can I format the e-mail itself so that it looks nice and is not just plain text all through?

I've tried various things but nothing seems to work. HTML-tags are not recognized but simply perceived as part of the contents of the e-mail. If anyone has any tips and ideas I'd be most grateful.

Report
Re: Formatting an e-mail Posted by Persephone on 10 Nov 2004 at 1:30 AM
: Hello,
:
: I've created a form where the user enters certain information. This information is then to be sent in an e-mail. How can I format the e-mail itself so that it looks nice and is not just plain text all through?
:
: I've tried various things but nothing seems to work. HTML-tags are not recognized but simply perceived as part of the contents of the e-mail. If anyone has any tips and ideas I'd be most grateful.
:
:
Hi,

I forgot to mention that I use VB-script.

Report
Re: Formatting an e-mail Posted by singhrohit82 on 22 Nov 2004 at 10:24 PM
Hello,
Hi, I am Rohit Singh. I order to format ur mail properly, you should create an HTML file where using Table tags specify what you want where and then specify the placeholders in the cells.

After you do this you can read the entire html file and replace the placeholders with rhe values you want to send.

Suppose you want to say 'HELLO' and it shud appear in center and bold.

<Table border=0 align=center>
<tr>
<td nowrap><B>
#hello#</B>
</td>
</tr>
</table>

in your code you can read this file and replace #hello# with your value 'HELLO'. It will work.

Hope it will help you.

Bye



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.