Operating System - HP-UX
1753613 Members
6016 Online
108797 Solutions
New Discussion юеВ

Re: Spurious Attachment from Elm to MS/Office

 
Ray White
Advisor

Spurious Attachment from Elm to MS/Office

I've been trying to use elm like I've read in these forums (fora?), to send E-mails including attachments from HP-UX to Office. I'm hoping to allow E-mail auto-notifications from scripts.

I tried: elm -s ""
where body.txt is like (between the ='s):
=========================================
Greetings,

This is a sample

-Me
[include one.gif image/gif base64]
[include two.gif image/gif base64]
=========================================
I get the body of the message and the two GIFs okay, but I get another attachment named ATT.ATT for a varying 5-digit number .

How can I get rid of this ATT-achment?

BTW, elm -v tells me "Elm $Revision: 1.17.214.2 $". I hope it's not an elm version problem, since it might take an act of congress to upgrade it.

TIA,
Ray
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Spurious Attachment from Elm to MS/Office


I use this:

for i in `echo filename1 filename2 filename3 ...`
do
uuencode $i $i.txt
done|mailx -m -s "test" username@whereever.com



live free or die
harry
Live Free or Die
Ray White
Advisor

Re: Spurious Attachment from Elm to MS/Office

Thanks, Harry.

Can I send a text message with the attachments using this method, or does this only work to send attachments?

Ray
harry d brown jr
Honored Contributor

Re: Spurious Attachment from Elm to MS/Office

Ray,

Sorry about the late response, damn busy day!

Ok, the uuencode command below:

uuencode $i $i.txt

has TWO $i fields. The first $i tells uuencode to encode the filename within $i. The second $i (WITH the .txt) tells uuencode to "ATTACH" this file name with the extension .txt (Dot txt). If the file is say a gif, then make the "second filename" $i.gif. Like this:

uuencode mypic mypic.gif

If the file already has the "extension", just do this:

uuencode mypic.gif mypic.gif | mailx blahblahblah


live free or die
harry
Live Free or Die
Anthony Giedlinski
Occasional Advisor

Re: Spurious Attachment from Elm to MS/Office

We recently applied the 12/2001 quality patch bundle, and PHNE_21915 for elm has removed this problem, spurious attachments, and created another. Now, all text messages that are not attachments have every blank line removed. Does anyone know if there is something that needs to be set in .elmrc to get elm to mail the entire file?