in reply to Re: Mail::SendMail Content -type setting
in thread Mail::SendMail Content -type setting

ya but I am working on an existing code (which was written by some DUD) and I can't afford the luxury of changing that code too much.I am presenting a similar code here,
$sm = new SendMail('Server Name'); $sm->From('aa@bb.com'); $sm->To('xx@yy.com'); $sm->Subject('just kill me'); $str="<HTML><strong>This is mail body</strong></HTML>"; $sm->setMailBody($str); $sm->sendMail();
Is there any way(any sub-routine) of specifying the content-type over here??? just like the mail body and from and to addresses

Replies are listed 'Best First'.
Re^3: Mail::SendMail Content -type setting
by andreas1234567 (Vicar) on Aug 27, 2007 at 07:56 UTC
    I does not seem like you are using Mail::Sendmail as suggested above in this thread. The code you provided looks a lot like the synopsis for Net::DNS::Sendmail. From looking at the source code, it does not seem to support setting the Content-Type.
    --
    Andreas
      Hey buddy thanks for that, Actually I am using the module Mail::SendMail not Mail::Sendmail Module.

      And I believe it is not in CPAN, I should find out which guy over here wrote that module.