git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			45 lines
		
	
	
		
			992 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			992 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /////////////////////////////////////////////////////////////////////////////
 | |
| // Name:        email.h
 | |
| // Purpose:     wxEmail: portable email client class
 | |
| // Author:      Julian Smart
 | |
| // Modified by:
 | |
| // Created:     2001-08-21
 | |
| // RCS-ID:      $Id$
 | |
| // Copyright:   (c) Julian Smart
 | |
| // Licence:     wxWindows licence
 | |
| /////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #if defined(__GNUG__) && !defined(__APPLE__)
 | |
| #pragma interface "email.h"
 | |
| #endif
 | |
| 
 | |
| #ifndef _WX_EMAIL_H_
 | |
| #define _WX_EMAIL_H_
 | |
| 
 | |
| #include "wx/net/msg.h"
 | |
| 
 | |
| /*
 | |
|  * wxEmail
 | |
|  * Miscellaneous email functions
 | |
|  */
 | |
| 
 | |
| class WXDLLIMPEXP_NETUTILS wxEmail
 | |
| {
 | |
| public:
 | |
| //// Ctor/dtor
 | |
|     wxEmail() {};
 | |
| 
 | |
| //// Operations
 | |
| 
 | |
|     // Send a message.
 | |
|     // Specify profile, or leave it to wxWidgets to find the current user name
 | |
|     static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString,
 | |
|         const wxString& sendMail = wxT("/usr/lib/sendmail -t"));
 | |
|     
 | |
| protected:
 | |
| };
 | |
| 
 | |
| 
 | |
| #endif //_WX_EMAIL_H_
 | |
| 
 |