Re: Send emails with attachments from command line
On Thu, Dec 08, 2005 at 03:04:46PM +, Ashley Moran wrote: On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. This is because it depends on XPM library. I have removed it manually and metamail works fine on my X11-less server :-) I use both mutt and metamail because metamail can embed content, while mutt does simple attachment. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Send emails with attachments from command line
On Friday 09 December 2005 09:45, Igor Robul wrote: This is because it depends on XPM library. I have removed it manually and metamail works fine on my X11-less server :-) I use both mutt and metamail because metamail can embed content, while mutt does simple attachment. Igor Could you explain how you did this? Do you have to install metamail, let it drag X11 in, then remove everything afterwards, or can you modify the build process? I saw nothing promising in Makefile. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Send emails with attachments from command line
On Fri, Dec 09, 2005 at 11:22:32AM +, Ashley Moran wrote: On Friday 09 December 2005 09:45, Igor Robul wrote: This is because it depends on XPM library. I have removed it manually and metamail works fine on my X11-less server :-) I use both mutt and metamail because metamail can embed content, while mutt does simple attachment. Igor Could you explain how you did this? Do you have to install metamail, let it drag X11 in, then remove everything afterwards, or can you modify the build process? I saw nothing promising in Makefile. My error, it needs xloadimage and not xpm :-) You can just temporary remove RUN_DEPENDS=xloadimage:${PORTSDIR}/x11/xloadimage \ mkfontdir:${X_CLIENTS_PORT} from Makefile, and copy /usr/X11R6/bin/bdftopcf /usr/X11R6/lib/libXfont.so.1 /usr/local/lib/libfreetype.so.9 from your workstation. This is of course may cause some trouble :-) But I had not any. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Send emails with attachments from command line
Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Cheers Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Send emails with attachments from command line
On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Send emails with attachments from command line
On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SV: Send emails with attachments from command line
-Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Ashley Moran Skickat: den 8 december 2005 16:05 Till: freebsd-questions@freebsd.org Ämne: Re: Send emails with attachments from command line On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. I sometimes use: #uuencode filetosend.ext filetosend.ext | mail -s File [EMAIL PROTECTED] But not sure if thats correct. /Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Send emails with attachments from command line
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, December 09, 2005 2:23 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: SV: Send emails with attachments from command line -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Ashley Moran Skickat: den 8 december 2005 16:05 Till: freebsd-questions@freebsd.org Ämne: Re: Send emails with attachments from command line On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. I sometimes use: #uuencode filetosend.ext filetosend.ext | mail -s File [EMAIL PROTECTED] But not sure if thats correct. /Henrik I send all sorts of reports automagically with cat filename | uuencode filename | mail -s filename [EMAIL PROTECTED] where filename can be a shell variable etc FWIW some of the reports are perl generated Excel spreadsheets and they travel just fine to the M$ challenged. mjt --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ***This Email has been scanned for Viruses by MailMarshal.*** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]