Re: Mutt in a program

2000-06-06 Thread David T-G

Steven --

...and then Steven Malkos said...
% Can I use mutt to send HTML pages through the body of a email?
% 
% I have a perl program that will call mutt through the system command, and I
% would
% like to send a mail message using mutt's mime feature to display the body of
% my email
% as HTML, how would I accomplish this.

You can attach a file using the -a command-line flag, so that probably
does what you want.  Even such a slick little number as mutt is a big
sledgehammer for this little job; why not use something simple like
metamail, which is designed for command-line MIME mailing, instead?


% 
% Thanks,
% Steve


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Mutt in a program

2000-06-06 Thread Brian Salter-Duke

On Tue, Jun 06, 2000 at 10:41:48PM -0400, David T-G wrote:
 Steven --
 
 ...and then Steven Malkos said...
 % Can I use mutt to send HTML pages through the body of a email?
 % 
 % I have a perl program that will call mutt through the system command, and I
 % would
 % like to send a mail message using mutt's mime feature to display the body of
 % my email
 % as HTML, how would I accomplish this.
 
 You can attach a file using the -a command-line flag, so that probably
 does what you want.  Even such a slick little number as mutt is a big
 sledgehammer for this little job; why not use something simple like
 metamail, which is designed for command-line MIME mailing, instead?
 

Since you are in perl script, why not use Mime::lite. It works fine.

Brian.
 
 % 
 % Thanks,
 % Steve
 
 
 :-D
 -- 
 David T-G   * It's easier to fight for one's principles
 (play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
 (work) [EMAIL PROTECTED]
 http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
 The "new millennium" starts at the beginning of 2001.  There was no year 0.
 Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
 



-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
  School of Biological, Environmental and Chemical Sciences, SITE,
Northern Territory University, Darwin, NT 0909, Australia.  Phone 08-89466702. 
Fax 08-89466847  http://www.smps.ntu.edu.au/school/compchem.html