Hello great perlmonks, I have the code below for sending an email but when i rceive the email, the information is displayed chaotic:
$sender=new Mail::Sender {smtp=>'155.142.124.145', from=>'test@yahoo.com'}; $sender->OpenMultipart({to=>'test1@hotmail.com',subject=>"This is a te +st!"}); $sender->Part({ctype=>'text/html',disposition=>'None',encoding=>'quote +d-printable'}); $msg=qq (<html><body><br><table border=2 width=100> <tr><td colspan=2><h3>My Information</h3></td><td></td></tr> <tr><td>From</td><td><font color=blue>Bory</font></td></tr> <tr><td >My Information</td><td width=100><fontcolor=blue> DIV_BORY__V10.30.0__AR LIV_BORY_1696_V10.30.0__HD LIV_BORY_162X_V10.30.0__CL </font></td></tr></table></center> ); $body=qq (</body></html>); $sender->SendEnc($msg,$body); $sender->Close();
The problem is for eg in the tabel row My Information, the information is displayed on the same row while I want to be displayed on three separate rows!I always have this kind of problems of displaying on different rows! Another aspect is the difference between the browsers:If I open this email with Netscape the display is different from IE; Thank you for your time.

In reply to content of an email by bory

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.