Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Outlook email with table

by Sinistral (Monsignor)
on Jan 24, 2011 at 16:08 UTC ( [id://883956]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Outlook email with table
in thread Outlook email with table

MIME::Lite is a fairly low level module for creating e-mails that are MIME encoded. That means that, in addition to attachments, you can have the e-mail body be something other than plain text. If you want to send e-mails that are formatted, you're going to want to create an HTML e-mail. This is where you're going to have to do more than simply copy and paste in a MS Office appliction - you're going to need to do the equivalent of pasting your table into something (possibly Word) and save that as HTML. You'll then need to take the HTML table code and put it into the body of your e-mail. You're then going to have to write Perl code that sets the HTML for your e-mail body, for your table, and for any other information that you want in the e-mail. One very good HTML authoring site is SitePoint.com. They have an excellent guide on how to create good e-mail newsletters. Although you're not specifically creating a newsletter, the information still applies, because you're creating an HTML e-mail.

PS: Even though I mention Word as a possible HTML creator, I only say that because it sounds like you have not written Perl code to generate e-mails before. Word's HTML formatting is complex, verbose, and from an HTML standards perspective quite bad.

Replies are listed 'Best First'.
Re^4: Outlook email with table
by NewMonk2Perl (Sexton) on Jan 24, 2011 at 16:42 UTC

    Great information and I think this could be very useful in the future. It sounds like alot of work and steps for what I need to do. Isn't there an easier way to just copy from excel and paste it into an outlook email? Thanks for everyones help. Newbie here still trying to learn.

    Paul
      One way might be to save the spreadsheet (or part of it) as HTML and put that in the email.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://883956]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-03-28 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found