Current location: Hot Scripts Forums » Programming Languages » Perl » HTMl email code in CGI


HTMl email code in CGI

Reply
  #1 (permalink)  
Old 06-24-08, 02:55 AM
sujata_ghosh sujata_ghosh is offline
Wannabe Coder
 
Join Date: May 2006
Posts: 181
Thanks: 0
Thanked 0 Times in 0 Posts
HTMl email code in CGI

Hi,

I would like to send HTML email from a CGI form using CGI code, can any one give some url from where i can get the structure of HTML format on CGI script, so far i am using this emailf format to send text email but i would like to send this structured html page inself into the html email with link, text, images etc etc.

text email code:

Code:
open (MAIL, "|$mailprog -ffxreturn\@kshitij.com") or dienice("Can't access $mailprog!\n");
print MAIL "From: Vikram Murarka <sender\@domain.com>\n";
print MAIL "Return-path: Vikram Murarka <sender\@domain.com>\n";
print MAIL "Reply-To: Vikram Murarka <sender\@domain.com>\n";
print MAIL "X-Priority: 2\n";
print MAIL "Subject: $subject1 \n";
print MAIL "To: receiver\@domain.com\n";
print MAIL "$subject1 \n";
print MAIL "$edition1";
print MAIL "$time \n\n";
print MAIL "$free1";
print MAIL "$euro1\n";
print MAIL "$eurom1\n\n";
close (MAIL);

I am using this to send text email so far. i need to modify it to send the same date in form of html email.

here you can see the look of html data which will pass on the email.....
http://www.kshitij.com/fxthoughts/for-forum.html

Please help me.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying html code jbsniff HTML/XHTML/XML 3 01-31-07 12:12 PM
HTML code file update on the webserver using CGI script sujata_ghosh Perl 31 07-06-06 03:06 AM
Retrieving HTML source code using PHP? 1jetsam PHP 2 12-31-05 04:43 AM
CGI Script Form to Email Help!!! EOM Perl 1 06-22-05 12:19 AM
how to make an embedded html email hackwire The Lounge 5 05-11-04 04:12 PM


All times are GMT -5. The time now is 04:51 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.