You can use MIME.... You can use a simple, fudged up version, supplying your own headers, like in the script I supplied. It will send a PDF file to the user. Use it like follows:
mailmime.sh myfile.pdf recipient.address@place.com
This trick is used by our admin here to send out automated text reports to various people. I modified it to be standalone, and it could be modified much more for your needs as well...
We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment... (3 Replies)
Hi,
I'am new in system administration, and I would like to send file from my UNIX machine running on Aix 4.3.3 to the Lotus Notes V5 mail of my colleagues .
So I heard about the sendmail command, but I don't know excatly how to use it for send my files .
Please if you have a idea, help me !!! (1 Reply)
Does anyone know if you can run Notes on a SunBlade? This is the last program I need to completely get away from all MS boxes, if I can run my Notes on my Blade I won't need this ratty MS box!
Thanks!
JP (4 Replies)
I am using mailx command to send automated emails from the Unix to Lotus notes. Recently we got a requirement to send all emails as encrypted emails. I am not sure how I can encrypt an email using unix. Please help!!
Thanks (3 Replies)
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com (0 Replies)
Hi All,
I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same.
Script
***************
#!/bin/ksh
# Author: Manish... (4 Replies)
Hi All,
We have requirement to send lotus notes email attachment to mutiple users.
Each user has a separate file name ,but the file name and mail id will be same
please help urgent
Thanks (2 Replies)
Hello,
I have tired the commands like below to send a email with an attachment to IBM lotus notes
uuencode filename filename | Mail -s "subject" addr
uuencode filename filename | mailx -s "subject" addr
uuencode filename filename | sendmail addr
All of three command work. But I can... (0 Replies)
Hi,
I am new to UNIX and any help is greatly appreciated.
Requirement:
Need to check the directory and if the directory has some files then an email needs to be sent to the email ID on Lotus Notes.
I need help on sending an email to email ID on Lotus Notes notifying that the files... (3 Replies)
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com
Thanks in advance,
CD (2 Replies)
Discussion started by: cdprasad.ait
2 Replies
LEARN ABOUT SUSE
mimecheck
mimecheck(1) Check MIME attachments mimecheck(1)NAME
mimecheck - determine the type of the MIME encoded of an attachment
mimezip - detect the type of MIME encoded zip archive in an attachment
mimebzip - detect the type of MIME encoded bzip2 data in an attachment
mimegzip - detect the type of MIME encoded gzip data in an attachment
SYNOPSIS
mimecheck boundary [file]
mimezip boundary [file]
mimebzip boundary [file]
mimegzip boundary [file]
DESCRIPTION
The scripts mimecheck, mimezip, mimebzip, and mimegzip can be used to determine the contents of MIME encoded attachments of the type appli-
cation/octet-stream. The scripts require the boundary as provided in the headers and/or bodys of mails with enclosed attachments. The
scripts read from standard input if no file was provided and write out the detected MIME type to standard out.
EXAMPLE
A short filter rule used by procmail(1) to check for DOS executables in MIME encoded zip archives found in many attachments:
BLANK="[ ]+"
TYPE="${BLANK}multipart/(alternative|mixed)"
:0
* $ ^Content-Type:${TYPE};(${BLANK}|$)*boundary=["']?[^ "';]+
{
BOUNDARY="${MATCH}"
TYPE=""
:0 B
* $ ^Content-Transfer-Encoding:${BLANK}base64
{
TYPE=`mimecheck ${BOUNDARY}`
:0
* TYPE ?? application/x-zip
{
TYPE=`mimezip ${BOUNDARY}`
}
}
:0
* TYPE ?? executable.*DOS
* TYPE ?? DOS.*executable
/dev/null
}
there is no guarantee that this piece of a procmailrc(5) file will work.
SEE ALSO procmailrc(5), file(1), sed(1), mimencode(1).
COPYRIGHT
2007 SuSE LINUX Products GmbH, Nuernberg, Germany,
2007 Werner Fink.
AUTHORS
Werner Fink <werner@suse.de>.
3rd Berkeley Distribution Juni 28, 2007 mimecheck(1)