home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / mapimail.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.0 KB  |  71 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. #ifndef _MAPI_MAIL_H_
  19. #define _MAPI_MAIL_H_
  20.  
  21. #include "nscpmapi.h"
  22. #include <structs.h>    // for MWContext
  23.  
  24. //extern "C" {
  25.  
  26. //
  27. // This function will create a composition window and either do
  28. // a blind send or pop up the compose window for the user to 
  29. // complete the operation
  30. //
  31. // Return: appropriate MAPI return code...
  32. //
  33. //
  34. extern "C" LONG
  35. DoFullMAPIMailOperation(MAPISendMailType      *sendMailPtr,
  36.                                               const char            *pInitialText,
  37.                         BOOL                  winShowFlag);
  38.  
  39. //
  40. // This function will create a composition window and just attach
  41. // the attachments of interest and pop up the window...
  42. //
  43. // Return: appropriate MAPI return code...
  44. //
  45. //
  46. extern "C" LONG
  47. DoPartialMAPIMailOperation(MAPISendDocumentsType *sendDocPtr);
  48.  
  49. //
  50. // This function will save a message into the Communicator "Drafts"
  51. // folder with no UI showing.
  52. //
  53. // Return: appropriate MAPI return code...
  54. //
  55. //
  56. extern "C" LONG 
  57. DoMAPISaveMailOperation(MAPISendMailType      *sendMailPtr,
  58.                                               const char            *pInitialText);
  59.  
  60. //
  61. // This will fire off a "get mail in background operation" in an
  62. // async. fashion.
  63. //
  64. extern "C" void
  65. MAPIGetNewMessagesInBackground(void);
  66.  
  67.  
  68. // } // extern "C"
  69.  
  70. #endif // _MAPI_MAIL_H_
  71.