linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* attachment using sendmail
@ 2005-01-25 11:01 Luca Ferrari
  2005-01-25 15:30 ` Scott Taylor
  2005-01-25 15:36 ` Miguel González Castaños
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Ferrari @ 2005-01-25 11:01 UTC (permalink / raw)
  To: linux-admin

Hi,
I use the sendmail command to send automatic e-mail in my control programs, 
but I'd like to know if there's a non interactive way to send an attachment, 
like a small text file. I didn't find a way in the man, so anyone has already 
done it?

Thanks,
Luca
-- 
Luca Ferrari,
fluca1978@infinito.it



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: attachment using sendmail
  2005-01-25 11:01 attachment using sendmail Luca Ferrari
@ 2005-01-25 15:30 ` Scott Taylor
  2005-01-25 15:36 ` Miguel González Castaños
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Taylor @ 2005-01-25 15:30 UTC (permalink / raw)
  To: linux-admin


Luca Ferrari said:
> Hi,
> I use the sendmail command to send automatic e-mail in my control
> programs, but I'd like to know if there's a non interactive way to send an
> attachment, like a small text file. I didn't find a way in the man, so
> anyone has already done it?

Hi Luca,

There are many ways to attach files to email, MIME is probably your best bet.

A simple command line way would be to use the less supported uuencode, man
files for that.  Some mail clients may not support it though, I know there
is a plugin for Squirrel Mail though, and Eudora and Pine support it.

For MIME style attachments, I use a perl script with MIME::Lite.  Works
very well and very easy to code.  You can find it at
http://search.cpan.org (when it is working).

Good luck.

--
Scott

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: attachment using sendmail
  2005-01-25 11:01 attachment using sendmail Luca Ferrari
  2005-01-25 15:30 ` Scott Taylor
@ 2005-01-25 15:36 ` Miguel González Castaños
  1 sibling, 0 replies; 3+ messages in thread
From: Miguel González Castaños @ 2005-01-25 15:36 UTC (permalink / raw)
  To: linux-admin

Luca Ferrari escribió:

>Hi,
>I use the sendmail command to send automatic e-mail in my control programs, 
>but I'd like to know if there's a non interactive way to send an attachment, 
>like a small text file. I didn't find a way in the man, so anyone has already 
>done it?
>
>Thanks,
>Luca
>  
>
here there is a perl script:

http://groups.google.es/groups?q=how+to+sendmail+attachment&hl=es&lr=&selm=5bq8ro%24a1l%40Holly.aa.net&rnum=6

In these two newsgroups they give you other ideas:

http://groups.google.es/groups?hl=es&lr=&threadm=388280B2.A19184C%40netscape.net&rnum=5&prev=/groups%3Fq%3Dhow%2Bto%2Bsendmail%2Battachment%26hl%3Des%26lr%3D%26selm%3D388280B2.A19184C%2540netscape.net%26rnum%3D5

http://groups.google.es/groups?hl=es&lr=&threadm=8pkcb4%24ani%241%40nnrp1.deja.com&rnum=2&prev=/groups%3Fq%3Dhow%2Bto%2Bsendmail%2Battachment%26hl%3Des%26lr%3D%26selm%3D8pkcb4%2524ani%25241%2540nnrp1.deja.com%26rnum%3D2

HTH

Regards,

Miguel



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-25 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 11:01 attachment using sendmail Luca Ferrari
2005-01-25 15:30 ` Scott Taylor
2005-01-25 15:36 ` Miguel González Castaños

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).