home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Mail / MailEnclosure / MESendModules / Source / NeXTMail / MailMessage.h next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  694 b   |  33 lines

  1. #import <appkit/appkit.h>
  2. #include <stdio.h>
  3.  
  4. @interface MailMessage:Object
  5. {
  6.    id MUA;                     /* Mail User Agent - mail program, e.g. MH, Mail.app etc. */
  7.    id MTA;                     /* Mail Transport Agent - e.g. sendmail, smail etc. */
  8.    id to;
  9.    id subject;
  10.    id cc;
  11.    id text;
  12.    id mailFile;
  13.    FILE *fp;
  14.    id envelope;
  15.    id body;
  16.    id commandLine;
  17.    id attachments;
  18. }
  19.  
  20. -initForMUA: (const char *)anApp  andMTA: (const char *)aMailer;
  21. -free;
  22. -commandArgs;
  23. -buildEnvelope;
  24. -buildBody;
  25. -deliverTo: (const char *)receivers 
  26.    subject: (const char *)about 
  27.         cc: (const char *)alsoReceives 
  28.       text: (const char *)str;
  29. -(BOOL)supportsAttachments;
  30. - setAttachments: fileList;
  31.  
  32. @end
  33.