I have been sending an email attachment from my unix box, but keep getting an error? All though the recipient still receives the email and attachment. Will this error cause problems in the future and how to I cure it?
$ uuencode PReSvPRINTER.txt file | mailx -s "File" me@world.com
uuencode:... (1 Reply)
Hi
I am new to unix and scripting.I am trying to send a html file as an attachment.
SUBJECT="Type of Exceptions in Application"
TO=Sushovan.Samals@gmail.com
SPOOLFILE=/data/reg/tlogs/Monitor.html
#echo "Send the E-mail message..."
uuencode $SPOOLFILE $SPOOLFILE | mailx -s "$SUBJECT" $TO... (2 Replies)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=border
--border
Content-Type: text/html
Content-Disposition: inline
<html><body><h2>This text should be displayed with html formatting</h2></body></html>
--border
Content-Type: text/plain
Content-Disposition: attachment
This text... (2 Replies)
Hello,
I have a script which is sending an html file as an attachment.
#!/usr/bin/ksh
export MAILTO="user@company.com"
export CONTENT="/usr/tmp/file.html"
export SUBJECT="EmailSubject"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (0 Replies)
Hello,
I need to send below text (in a file ABC)as html text in mail body and the same as csv attachment
1,2,3
4,5,6
7,8,9
but to send as html text in mailbody we use
echo "Subject: Report " | cat - ABC | /usr/lib/sendmail -t a@xyz.com
and to send as an attachment in csv format we... (9 Replies)
Hi,
I am using Sun solaris OS unix server
I am trying to send mail with an attachment using below script
cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere
I m getting mails but with no attachment.
Hence i manipulate the script as below and i am... (2 Replies)
Hi,
I am using the below code:
#!/bin/ksh
SUBJ="Send mail from Unix with file attachments"
TO=sudha.viswanathan@jpmorgan.com
CC=sudha.viswanathan@jpmorgan.com
(
cat << !
To : ${TO}
Subject : ${SUBJ}
Cc : ${CC}
!
cat << !
MIME-Version: 1.0
Content-Type: text/html
`cat... (1 Reply)
How to Send a mail with multiple attachment also differenet extension using uuencode in AIX.
Can you please help me. Its so urgent.
Thanks.
Regards,
Swapnil
---------- Post updated at 05:37 AM ---------- Previous update was at 05:35 AM ----------
I have below code. But attachment... (1 Reply)
Discussion started by: Swapnil Mawle
1 Replies
LEARN ABOUT DEBIAN
ost_mimemultipart
ost::MIMEMultipart(3) Library Functions Manual ost::MIMEMultipart(3)NAME
ost::MIMEMultipart -
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
SYNOPSIS
#include <mime.h>
Inherited by ost::MIMEMultipartForm.
Public Member Functions
MIMEMultipart (const char *document)
Contruct a multi-part document, and describe it's type.
virtual void head (std::ostream *output)
Stream the headers of the multi-part document.
virtual void body (std::ostream *output)
Stream the 'body' of the multi-part document.
char ** getHeaders (void)
Get a string array of the headers to use.
Protected Member Functions
virtual ~MIMEMultipart ()
Protected Attributes
char boundry [8]
char mtype [80]
char * header [16]
MIMEItemPart * first
MIMEItemPart * last
Friends
class __EXPORT MIMEItemPart
Detailed Description
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
Author:
David Sugar dyfet@ostel.com container for streamable multi-part MIME documents.
Constructor & Destructor Documentation
virtual ost::MIMEMultipart::~MIMEMultipart () [protected], [virtual]
ost::MIMEMultipart::MIMEMultipart (const char *document)
Contruct a multi-part document, and describe it's type. Parameters:
document (content) type.
Member Function Documentation
virtual void ost::MIMEMultipart::body (std::ostream *output) [virtual]
Stream the 'body' of the multi-part document. This involves streaming the headers and body of each document part.
Parameters:
output to stream document body into.
char** ost::MIMEMultipart::getHeaders (void) [inline]
Get a string array of the headers to use. This is used to assist URLStream::post.
Returns:
array of headers.
virtual void ost::MIMEMultipart::head (std::ostream *output) [virtual]
Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body.
Parameters:
output to stream document header into.
Friends And Related Function Documentation
friend class __EXPORT MIMEItemPart [friend]
Member Data Documentation
char ost::MIMEMultipart::boundry[8] [protected]
MIMEItemPart* ost::MIMEMultipart::first [protected]
char* ost::MIMEMultipart::header[16] [protected]
MIMEItemPart * ost::MIMEMultipart::last [protected]
char ost::MIMEMultipart::mtype[80] [protected]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::MIMEMultipart(3)