Sponsored Content
Top Forums Shell Programming and Scripting Sendmail with html attachment and html body Post 302360355 by sol_nov on Thursday 8th of October 2009 04:39:54 PM
Old 10-08-2009
Sendmail with html attachment and html body

Hi folks,

I have a perl script which sends out email after successful completion of job as inline html, I want to send it out as two parts now as html inline and html attachment. see the attached script.

Thanks in advance

Last edited by sol_nov; 10-13-2009 at 02:50 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AIX send mail with HTML message body and a binary attachment

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 line switch to specify file name of a binary attachment 3. command line or input file to specify... (4 Replies)
Discussion started by: G-Man
4 Replies

2. 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

3. Shell Programming and Scripting

Emailing html file as body not attachment

Hi All, I want to send the html file as message body not as an attachment. below is my code.it is printing the html code as it is in the email. your help is needed urgently. VTIER=$ROOTHOME/vtierlist2.txt genhtml=/$ROOTHOME/genhtml.html MAILTO=/$ROOTHOME/maillist SUBJECT="Vtier Usage... (6 Replies)
Discussion started by: amitbisht9
6 Replies

4. Shell Programming and Scripting

Sendmail with HTML body and attachment

I have an HTML file I am currently sending in the body of an email. I now have a need to send a csv attachment along with it. I can ONLY use sendmail as mutt and xmail etc are not on the server. Here is what I am currently using: It is possible to add code to add an attachment ??!? { ... (8 Replies)
Discussion started by: atelford
8 Replies

5. Shell Programming and Scripting

Sendmail with header and footer logo in HTML body

Hello, I need help with my script that will send email via sendmail command that will shows both the header and footer logo once the recepient receive the email (e.g. MS Outlook). When I tested to ran the script it will successfully send the email BUT UNFORTUNATELY it doesn't displayed the... (8 Replies)
Discussion started by: lawrence88
8 Replies

6. Shell Programming and Scripting

Issue to attachment with HTML body

HI Team, I used below code to get attachment with HTML body. i having21062013.csv file . but i am getting junk .csv file. Can you please help me out. export MAILTO=rp908@gmail.com.com export SUBJECT="Test Waiver Code email" export BODY=test.html export ATTACH=21062013.csv... (4 Replies)
Discussion started by: Jewel
4 Replies

7. Shell Programming and Scripting

Email body not formatted with html and sendmail

Hi All, I am trying to send the contents of a file as email body. I am using html email and sendmail option of unix. I am using the below piece of code for the same : #!/usr/bin/ksh export MAILTO="email@domain.com" export SUBJECT="Report" export BODY="file_directory_path/test_file.txt"... (1 Reply)
Discussion started by: rockygsd
1 Replies

8. UNIX for Dummies Questions & Answers

Sendmail with HTML body and attachment code issues

Hi, I was working on getting an HTML file in the mail body along with attaching a "csv" file to the mail. Below are the 2 parts of the code. I need help with the second part where I'm sending the mail. The HTML file as an attachment is perfect without any issues and with proper formatting.... (6 Replies)
Discussion started by: aster007
6 Replies

9. Shell Programming and Scripting

Sendmail cmd for html body and attachment not working

Hi, I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well) The below code is perfectly working for sending the html body alone: export MAILTO=abc@xyz.com export CONTENT="/home/abc/list.html"... (2 Replies)
Discussion started by: close2jay
2 Replies

10. Shell Programming and Scripting

Need syntax for mailing in UNIX by using html file as body and along with attachment

Hi All, I need a syntax for mailing in unix by using html code file output as body and along with attachment (without using mutt command) HTML code file : html1.txt Attachment : attach1.txt I was using the below codes but they are not working. ( cat html1.txt ; uuencode attach1.txt... (4 Replies)
Discussion started by: Rokkesh
4 Replies
std::reverse_iterator< _Iterator >(3cxx)								  std::reverse_iterator< _Iterator >(3cxx)

NAME
std::reverse_iterator< _Iterator > - SYNOPSIS
Inherits std::iterator< iterator_traits< _Iterator >::iterator_category, iterator_traits< _Iterator >::value_type, iterator_traits< _Iterator >::difference_type, iterator_traits< _Iterator >::pointer, iterator_traits< _Iterator >::reference >. Public Types typedef __traits_type::difference_type difference_type" typedef iterator_traits < _Iterator > ::iterator_category iterator_category" typedef _Iterator iterator_type typedef __traits_type::pointer pointer typedef __traits_type::reference reference typedef iterator_traits < _Iterator >::value_type value_type" Public Member Functions reverse_iterator () reverse_iterator (iterator_type __x) reverse_iterator (const reverse_iterator &__x) template<typename _Iter > reverse_iterator (const reverse_iterator< _Iter > &__x) iterator_type base () const reference operator* () const reverse_iterator operator+ (difference_type __n) const reverse_iterator & operator++ () reverse_iterator operator++ (int) reverse_iterator & operator+= (difference_type __n) reverse_iterator operator- (difference_type __n) const reverse_iterator & operator-- () reverse_iterator operator-- (int) reverse_iterator & operator-= (difference_type __n) pointer operator-> () const reference operator[] (difference_type __n) const Protected Types typedef iterator_traits < _Iterator > __traits_type" Protected Attributes _Iterator current Detailed Description template<typename _Iterator>class std::reverse_iterator< _Iterator > Bidirectional and random access iterators have corresponding reverse iterator adaptors that iterate through the data structure in the opposite direction. They have the same signatures as the corresponding iterators. The fundamental relation between a reverse iterator and its corresponding iterator i is established by the identity: &*(reverse_iterator(i)) == &*(i - 1) This mapping is dictated by the fact that while there is always a pointer past the end of an array, there might not be a valid pointer before the beginning of an array. [24.4.1]/1,2 Reverse iterators can be tricky and surprising at first. Their semantics make sense, however, and the trickiness is a side effect of the requirement that the iterators must be safe. Definition at line 97 of file stl_iterator.h. Member Typedef Documentation typedef iterator_traits< _Iterator >::iterator_category std::iterator< iterator_traits< _Iterator >::iterator_category , iterator_traits< _Iterator >::value_type , iterator_traits< _Iterator >::difference_type , iterator_traits< _Iterator >::pointer , iterator_traits< _Iterator >::reference >::iterator_category [inherited] One of the tag types. Definition at line 122 of file stl_iterator_base_types.h. typedef iterator_traits< _Iterator >::value_type std::iterator< iterator_traits< _Iterator >::iterator_category , iterator_traits< _Iterator >::value_type , iterator_traits< _Iterator >::difference_type , iterator_traits< _Iterator >::pointer , iterator_traits< _Iterator >::reference >::value_type [inherited] The type 'pointed to' by the iterator. Definition at line 124 of file stl_iterator_base_types.h. Constructor &; Destructor Documentation template<typename _Iterator> std::reverse_iterator< _Iterator >::reverse_iterator () [inline] The default constructor default-initializes member current. If it is a pointer, that means it is zero-initialized. Definition at line 121 of file stl_iterator.h. Referenced by std::reverse_iterator< _Iterator >::operator+(), and std::reverse_iterator< _Iterator >::operator-(). template<typename _Iterator> std::reverse_iterator< _Iterator >::reverse_iterator (iterator_type__x) [inline], [explicit] This iterator will move in the opposite direction that x does. Definition at line 127 of file stl_iterator.h. template<typename _Iterator> std::reverse_iterator< _Iterator >::reverse_iterator (const reverse_iterator< _Iterator > &__x) [inline] The copy constructor is normal. Definition at line 132 of file stl_iterator.h. template<typename _Iterator> template<typename _Iter > std::reverse_iterator< _Iterator >::reverse_iterator (const reverse_iterator< _Iter > &__x) [inline] A reverse_iterator across other types can be copied in the normal fashion. Definition at line 140 of file stl_iterator.h. Member Function Documentation template<typename _Iterator> iterator_type std::reverse_iterator< _Iterator >::base () const [inline] Returns: current, the iterator used for underlying work. Definition at line 147 of file stl_iterator.h. Referenced by std::operator==(). template<typename _Iterator> reference std::reverse_iterator< _Iterator >::operator* () const [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 156 of file stl_iterator.h. Referenced by std::reverse_iterator< _Iterator >::operator->(). template<typename _Iterator> reverse_iterator std::reverse_iterator< _Iterator >::operator+ (difference_type__n) const [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 227 of file stl_iterator.h. References std::reverse_iterator< _Iterator >::reverse_iterator(). template<typename _Iterator> reverse_iterator& std::reverse_iterator< _Iterator >::operator++ () [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 177 of file stl_iterator.h. template<typename _Iterator> reverse_iterator std::reverse_iterator< _Iterator >::operator++ (int) [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 189 of file stl_iterator.h. template<typename _Iterator> reverse_iterator& std::reverse_iterator< _Iterator >::operator+= (difference_type__n) [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 236 of file stl_iterator.h. template<typename _Iterator> reverse_iterator std::reverse_iterator< _Iterator >::operator- (difference_type__n) const [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 248 of file stl_iterator.h. References std::reverse_iterator< _Iterator >::reverse_iterator(). template<typename _Iterator> reverse_iterator& std::reverse_iterator< _Iterator >::operator-- () [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 202 of file stl_iterator.h. template<typename _Iterator> reverse_iterator std::reverse_iterator< _Iterator >::operator-- (int) [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 214 of file stl_iterator.h. template<typename _Iterator> reverse_iterator& std::reverse_iterator< _Iterator >::operator-= (difference_type__n) [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 257 of file stl_iterator.h. template<typename _Iterator> pointer std::reverse_iterator< _Iterator >::operator-> () const [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 168 of file stl_iterator.h. References std::reverse_iterator< _Iterator >::operator*(). template<typename _Iterator> reference std::reverse_iterator< _Iterator >::operator[] (difference_type__n) const [inline] Returns: TODO Todo Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 269 of file stl_iterator.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::reverse_iterator< _Iterator >(3cxx)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy