mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-11-04 08:04:12 +01:00 
			
		
		
		
	* Added a '--body-file' switch to the 'sendmail_test' test harness. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// sendmail_test.h
 | 
						|
//
 | 
						|
// Test the Rivendell email sending routines.
 | 
						|
//
 | 
						|
//   (C) Copyright 2020 Fred Gleason <fredg@paravelsystems.com>
 | 
						|
//
 | 
						|
//   This program is free software; you can redistribute it and/or modify
 | 
						|
//   it under the terms of the GNU General Public License version 2 as
 | 
						|
//   published by the Free Software Foundation.
 | 
						|
//
 | 
						|
//   This program is distributed in the hope that it will be useful,
 | 
						|
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
//   GNU General Public License for more details.
 | 
						|
//
 | 
						|
//   You should have received a copy of the GNU General Public
 | 
						|
//   License along with this program; if not, write to the Free Software
 | 
						|
//   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 | 
						|
//
 | 
						|
 | 
						|
#ifndef SENDMAIL_TEST_H
 | 
						|
#define SENDMAIL_TEST_H
 | 
						|
 | 
						|
#include <qobject.h>
 | 
						|
 | 
						|
#define SENDMAIL_TEST_USAGE "[options]\n\nTest the Rivendell email sending routines\n\nOptions are:\n--from-address=<addr>\n     Originating email address\n\n--to-addresses=<addrs>\n     To addresses (comma seperated)\n\n--cc-addresses=<addrs>\n     CC addresses (comma seperated)\n\n--bcc-addresses=<addrs>\n     BCC addresses (comma seperated)\n\n--subject=<str>\n     Message subject\n\n--body=<str>\n     Message body\n\n--body-file=<filename>\n     Use contents of <filename> for body\n\n--dry-run\n     Print the raw message to STDOUT, then exit\n\n"
 | 
						|
 | 
						|
class MainObject : public QObject
 | 
						|
{
 | 
						|
 public:
 | 
						|
  MainObject(QObject *parent=0);
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
#endif  // SENDMAIL_TEST_H
 |