Results 1 to 1 of 1
  1. #1
    Join Date
    Sep 2003
    Location
    Aust
    Posts
    2

    Question Unanswered: adding <HTML> Attrib's to email script..?

    i have a basic sendmail script[at bottom], i was wondering if i can add some html..?

    Also can i add an attachment to the email also..? how..? ...jaeman

    #!/usr/bin/perl

    open(SENDMAIL, "|/usr/lib/sendmail -oi -t -odq");

    print SENDMAIL <<"EOF";
    From: Jeff <jeff\@me.com>
    To: Jaeman <jaeman\@me.org>
    Subject: This is the CGI email subject

    something for the body here..!
    EOF

    close(SENDMAIL) or die "sendmail close error: $!\n";

    exit(0);
    Last edited by jaeman; 09-30-03 at 09:32.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •