Operating System - HP-UX
1849843 Members
1925 Online
104044 Solutions
New Discussion

Re: ATTACHED FILES ON E-MAIL.

 
Gonzalez Eduardo
Occasional Contributor

ATTACHED FILES ON E-MAIL.

I would like to know how to receve attached files from my mailserver. When i connect by telnet to the Pop3 port, download the message but the attached file is written into the message.
I would like to save the attached file in another directory.

Thanks
4 REPLIES 4
CHRIS_ANORUO
Honored Contributor

Re: ATTACHED FILES ON E-MAIL.

Use "elm -s "Subject" email-address < filename.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Devbinder Singh Marway
Valued Contributor

Re: ATTACHED FILES ON E-MAIL.

try uuencode file1 file2 | mailx -s 'test file' email address (a@b.com)
Seek and you shall find
Kofi ARTHIABAH
Honored Contributor

Re: ATTACHED FILES ON E-MAIL.

Hi Gonzalez:

When you use telnet to pop3 port of your mailserver to retrieve your mail, you cannot view the attachments separately because the attachments are usually encoded as part of the message and it is expected that you will use a user agent (such as elm) to read it. If you want to be able to pull your mail off from a pop3 server, you might want to consider the fetchmail utility - it can fetch your mails from different pop servers and deliver it to you locally so that you can use elm (or other agent) to read the mail (and its attachments)

http://eigen.ee.ualberta.ca/hppd/hpux/Networking/Mail/fetchmail-5.4.3/
nothing wrong with me that a few lines of code cannot fix!
MANOJ SRIVASTAVA
Honored Contributor

Re: ATTACHED FILES ON E-MAIL.

ELM version less than2.4 would not send mail atachment on HPUX ver 11.00. However there are lots uiltilites to do that . You can do it with mpack too. Other utilities can be found out from on www.stokely.com.