[lug] Format HTML E-mails from UNIX

Will will.sterling at gmail.com
Mon Dec 5 20:00:16 MST 2011


Here is an example,
http://www.webdeveloper.com/forum/showthread.php?t=164353

I've done similar but I used a HERE document instead of a bunch of echos in
a subshell.  IMHO the HERE document is cleaner.

On Mon, Dec 5, 2011 at 10:18 AM, Vishal Verma <stellarhopper at gmail.com>wrote:

> I'm not sure if this would work, but if you only intend to have pretty
> static HTML - say for formatting data into a table this might be the
> easiest way.
> Use an HTML editor to send an email to yourself with the formatting
> and dummy data. Then look at the source, and have the script fill in
> meaningful data into that HTML 'template'...
>
> --
> Vishal
>
>
>
>
> On Mon, Dec 5, 2011 at 10:14, Jose Luis Salas
> <joseluis.salas09 at gmail.com> wrote:
> > Thanks for the info Ralf I am just running a UNIX Korn shell script
> > I am not using a specific programming language so I am not
> > sure if I could use those libraries.
> >
> > Thanks again and have a good day.
> >
> >
> >
> > On Mon, Dec 5, 2011 at 10:20 AM, <rm at tuxteam.de> wrote:
> >>
> >> On Mon, Dec 05, 2011 at 09:57:36AM -0700, Jose Luis Salas wrote:
> >> > Hello Amigos,
> >> >
> >> > Just want to ask this maybe trivial E-mail question.
> >> > I am running a script that send an automatic text
> >> > E-mail at the end but the user want to see the
> >> > E-mail on better HTML Outlook format.
> >> >
> >> > Any advice on how to handle this type of E-mail format
> >> > from UNIX (HP-UX) will be appreciate.
> >>
> >> You need to send a multipart mime encoded message then.
> >> How are you generating the message part? There should be
> >> libraries to handle multipart mime messages for all the
> >> usual programming languages.
> >>
> >> HTH Ralf Mattes
> >>
> >>
> >> > Thanks in advance and regards!
> >> >
> >> >
> >> > --
> >> > Jose Luis Salas
> >> > CompTIA Linux+ Certified
> >> >
> >> > E-mail: joseluis.salas09 at gmail.com
> >>
> >> > _______________________________________________
> >> > Web Page:  http://lug.boulder.co.us
> >> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >> > Join us on IRC: irc.hackingsociety.org port=6667
> channel=#hackingsociety
> >> _______________________________________________
> >> Web Page:  http://lug.boulder.co.us
> >> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >> Join us on IRC: irc.hackingsociety.org port=6667
> channel=#hackingsociety
> >
> >
> >
> >
> > --
> > Jose Luis Salas
> > CompTIA Linux+ Certified
> >
> > E-mail: joseluis.salas09 at gmail.com
> >
> >
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20111205/19c342d1/attachment.html>


More information about the LUG mailing list