Sponsored Content
Operating Systems HP-UX Unable to send attachment with html tables in UNIX shell script Post 303013802 by MadeInGermany on Wednesday 28th of February 2018 02:34:30 PM
Old 02-28-2018
What is your OS?
Code:
uname

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UNABLE to send 5MB attachment using mailx

hi, i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not receive any email. i tested it and the issue is intermitent. please help on how to troubleshoot. i... (3 Replies)
Discussion started by: tads98
3 Replies

2. Shell Programming and Scripting

Send an attachment and html text both in the same mail

Hi all, I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached. I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Discussion started by: stefan.yu
4 Replies

3. AIX

Command line/Script to send E-mail with HTML body and binary attachment

I apoligize for the cross-post but I'm not getting much in the way of help in the dummies forum: I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements: 1. command line switch to specify file name containing message body in HTML format 2. command... (3 Replies)
Discussion started by: G-Man
3 Replies

4. Shell Programming and Scripting

unable to send an email attachment

i know its pretty repeated query, but i need to post it in this new thread coz i need it urgently uuencode /var/tmp/chandra/emaillist.txt emaillist.txt | mail -s "message with encoded attachment" am unable to send the attachment emaillist.txt present in the path /var/tmp/chandra/ Is... (11 Replies)
Discussion started by: cmaroju
11 Replies

5. Red Hat

Send HTML body and HTML attachment using MUTT command

Hi there.. I need a proper "mutt" command to send a mail with html body and html attachment at a time. Also if possible let me know the other commands to do this task. Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies

6. Shell Programming and Scripting

Unable to see attachment in outlook express sent by UUENCODE through unix script

Hi, I have written one script to send mail with attachment from my unix server, it is working fine, and i am capable to see the attachment in my lotus notes , but when i try to see the same thing in my outlook express ..it is completly garbaled. Please advise how to see proper attachment in... (5 Replies)
Discussion started by: apskaushik
5 Replies

7. UNIX for Advanced & Expert Users

How to send email as HTML format with attachment ?

hi.. Could somebody help me how to sent an attachment using sendmail command and the content is HTML format ?. Below is my code to sent the email as HTML but i do not know how to sent the attachment, please help me To: "BAHARIN HASAN"<baharin.hasan@gmail.com> from: "DATAONE SDN... (4 Replies)
Discussion started by: bh_hensem
4 Replies

8. Shell Programming and Scripting

Unable to send mail with inline html along with attachment. Please help!

The below code is not working. I am able to send only inline html or only attachment. When trying to do both, only inline html is sent without attachment. Please help! #!/bin/ksh (echo "Subject: Test Mail - HTML Format" echo "MIME-Version: 1.0" echo "Content-Type: text/html" echo... (1 Reply)
Discussion started by: thulasidharan2k
1 Replies

9. Shell Programming and Scripting

How to send email HTML + PDF attachment?

I am attempting to write a script where I can pass in parameters ( to , from, the location of a pdf attachment ) and send an email that has HTML for the body content and a PDF as an attachment. I have failed to achieve this with sendmail and mutt. I recently found this. If there are any... (2 Replies)
Discussion started by: jvsrvcs
2 Replies

10. UNIX for Dummies Questions & Answers

Unable to send attachment using mailx command

I am unable to send email with attachment using the mailx command. Without the attachment, the email goes through file. This is the command I use. Works : $ echo "Test" | mailx -s "Test" username@website.com Fails : $echo "Test" | mailx -a all-dss-accounts.txt -s "Test"... (3 Replies)
Discussion started by: nkarthik_mnnit
3 Replies
HTML::FormatText::WithLinks::AndTables(3pm)		User Contributed Perl Documentation	       HTML::FormatText::WithLinks::AndTables(3pm)

NAME
HTML::FormatText::WithLinks::AndTables - Converts HTML to Text with tables intact VERSION
Version 0.01 SYNOPSIS
use HTML::FormatText::WithLinks::AndTables; my $text = HTML::FormatText::WithLinks::AndTables->convert($html); Or optionally... my $conf = { # same as HTML::FormatText excepting below cellpadding => 2, # defaults to 1 no_rowspacing => 1, # bool, suppress vertical space between table rows }; my $text = HTML::FormatText::WithLinks::AndTables->convert($html, $conf); DESCRIPTION
This module was inspired by HTML::FormatText::WithLinks which has proven to be a useful `lynx -dump` work-alike. However one frustration was that no other HTML converters I came across had the ability to deal affectively with HTML <TABLE>s. This module can in a rudimentary sense do so. The aim was to provide facility to take a simple HTML based email template, and to also convert it to text with the <TABLE> structure intact for inclusion as "multipart/alternative" content. Further, it will preserve both the formatting specified by the <TD> tag's "align" attribute, and will also preserve multiline text inside of a <TD> element provided it is broken using <BR/> tags. EXPORT None by default. METHODS
convert EXAMPLE
Given the HTML below ... <HTML><BODY> <TABLE> <TR> <TD ALIGN="right">Name:</TD> <TD>Mr. Foo Bar</TD> </TR> <TR> <TD ALIGN="right">Address:</TD> <TD> #1-276 Quux Lane, <BR/> Schenectady, NY, USA, <BR/> 12345 </TD> </TR> <TR> <TD ALIGN="right">Email:</TD> <TD><a href="mailto:foo@bar.baz">foo@bar.baz</a></TD> </TR> </TABLE> </BODY></HTML> ... the (default) return value of convert() will be as follows. Name: Mr. Foo Bar Address: #1-276 Quux Lane, Schenectady, NY, USA, 12345 Email: [1]foo@bar.baz 1. mailto:foo@bar.baz SEE ALSO
HTML::FormatText::WithLinks HTML::TreeBuilder CAVEATS
* This does not handle <TH> elements whatsoever! * It assumes a fixed width font for display of resulting text. * It doesn't work well on nested <TABLE>s or other nested blocks within <TABLE>s. AUTHOR
Shaun Fryer, "<pause.cpan.org at sourcery.ca>" BUGS
Please report any bugs or feature requests to "bug-html-formattext-withlinks-andtables at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-FormatText-WithLinks-AndTables <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML- FormatText-WithLinks-AndTables>. I will be notifi ed, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc HTML::FormatText::WithLinks::AndTables You can also look for information at: o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-FormatText-WithLinks-AndTables <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-FormatText- WithLinks-AndTables> o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/HTML-FormatText-WithLinks-AndTables <http://annocpan.org/dist/HTML-FormatText-WithLinks-AndTables> o CPAN Ratings http://cpanratings.perl.org/d/HTML-FormatText-WithLinks-AndTables <http://cpanratings.perl.org/d/HTML-FormatText-WithLinks-AndTables> o Search CPAN http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables <http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables> ACKNOWLEDGEMENTS
Everybody. :) <http://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants> COPYRIGHT &; LICENSE Copyright 2008 Shaun Fryer, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-08 HTML::FormatText::WithLinks::AndTables(3pm)
All times are GMT -4. The time now is 10:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy