Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th April 2007, 19:34
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
Default send email with attachement using sendmail

Is it possible to send email with attachment/file (pdf, ps) using sendmail command line? (Debian etch)

Please advise, I need it urgently 'cos I am debugging some email-to-fax gateway script for HylaFAX (and since I installed Scalix everything messed up )

HELP !!
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
Sponsored Links
  #2  
Old 13th April 2007, 11:47
ibux ibux is offline
Junior Member
 
Join Date: Dec 2006
Location: Oslo, Norway
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Default

You will need a mail user agent to do that.
Have a look here for some examples.

Good luck!
Reply With Quote
The Following User Says Thank You to ibux For This Useful Post:
nenad (13th April 2007)
  #3  
Old 13th April 2007, 14:55
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
 
Default

Thank you.
Link you provided to me is very useful.

This is all I needed:

Code:
mail -s "[nnnnnnnn]" faxgw < fax.ps

where nnnnn is telephone number of receiving fax machine; faxgw is fax gateway perlscript and fax.ps is file for sending
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot send email from OE through ISPconfig site tomd General 10 12th March 2009 06:05
Can't send email with attachments to another email nysprite Installation/Configuration 2 29th June 2006 18:09
Can Send email but not receive it using sendmail on debian ZeroDni Installation/Configuration 7 25th June 2006 06:04
Can't send email with attachments to a user rafaelenrike General 9 15th June 2006 19:01
newbie...need to send out a bulk email for work.. pjm2211 HOWTO-Related Questions 1 22nd May 2006 22:58


All times are GMT +2. The time now is 12:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.