Sponsored Content
Top Forums Shell Programming and Scripting Sending an Email using MIME protocol Post 302875291 by rajamadhavan on Tuesday 19th of November 2013 07:05:20 AM
Old 11-19-2013
Your $data string should have a semicolon.

Code:
$data = '<html>
<body>
<table>
<tr>
<td> Name: </td>
<td> </td>
</tr>        
<tr>
<td> Age: </td>
<td>  </td>
</tr> 
<tr>
<td> Location: </td>
<td> </td>
</tr> 
</body>
</html>';

 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem sending excel attachments with MIME::Lite in perl

I am running a perl script that generates an excel doc and then emails it as an attachment. I can generate the excel file fine. I can scp it from the box and open it with no problems. When I send it over email, the file does open properly. The file in email is only 288 B, but on the server it is... (1 Reply)
Discussion started by: Mike_the_Man
1 Replies

2. Shell Programming and Scripting

Sending Attachment using MIME::Lite and Net::SMTP

Hello, I'm a newbie perl scriptor and i'm trying to figure out why i can't send an email using MIME::Lite with Net::SMTP. I keep receiving the following error: SMTP MAIL command failed: 5.7.1 Helo invalid . at attach1.pl line 31 The error keeps coming from the very last line... (2 Replies)
Discussion started by: xmaverick
2 Replies

3. Shell Programming and Scripting

Sending Attachment using MIME in UNIX

Hi, I am using the below code for sending attachment in UNIX but only blank attachment is coming in email even the content is not coming. Please help!!! export CONTENT="${DIR}/${RUN_DATE}_mailbody.txt" export SUBJECT="Search Result for Pattern - ${1}" export ATTACH=${2} ( echo... (9 Replies)
Discussion started by: rajesshh
9 Replies

4. Shell Programming and Scripting

uuencode to MIME email attachment converter?

Hello all, we have an IMAP email system here that basically uses email as the transport for a transaction processing system. Users submit their transaction via an email, and our in-house application pulls the emails from the IMAP server and processes the transaction. Our problem is that we have... (0 Replies)
Discussion started by: lupin..the..3rd
0 Replies

5. UNIX for Beginners Questions & Answers

MIME type for sending gzip file as attachment in email

Hello, I am trying to send a gzip file on email using below command but the zipped file received on email is corrupt. mailsend -smtp $smtpip -content-type 'application/x-gzip' -mime-type "application/x-gzip" -t $receiver -f $sender -sub "$subject" -M "$MSG" -attach $file file name is ... (1 Reply)
Discussion started by: tushar.modgil
1 Replies
MIME(1) 						      General Commands Manual							   MIME(1)

NAME
MIME - Multipurpose Internet Mail Extensions SYNOPSIS
Not a command -- see the SEE ALSO section for usable commands. DESCRIPTION
MIME is the official proposed standard format for extended Internet electronic mail. The MIME format permits email to include enhanced text, graphics, audio, and more, in a standardized and interoperable manner. If you send and receive mail with a MIME-compliant mail sys- tem, you will be able to send and receive far more than ASCII text. Various different people and companies are implementing MIME-compliant software. This man page was provided, by user request, as part of the freely-available "metamail" distribution from Bellcore. Metamail provides a complete MIME implementation, but there may well be others at your site, too. The "SEE ALSO" section only refers to the tools that came as part of the metamail distribution. SEE ALSO
metamail(1), mailto(1), metasend(1), mmencode(1), richtext(1), splitmail(1), mailto-hebrew(1) COPYRIGHT
Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore) Permission to use, copy, modify, and distribute this material for any purpose and without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies, and that the name of Bellcore not be used in advertising or publicity pertaining to this material without the specific, prior written permission of an authorized representative of Bellcore. BELLCORE MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. AUTHOR
Nathaniel S. Borenstein, Bellcore Release 1 MIME(1)
All times are GMT -4. The time now is 07:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy