/*-------------------------------------------------------------*/ /* create an 8 bit body from a text file read line by line */ netwib_err netwox_mailex_io_body(netwib_io *piobody, netwib_buf *pemail); /*-------------------------------------------------------------*/ /* create an base64 body from an attachment file */ netwib_err netwox_mailex_io_att(netwib_io *pioatt, netwib_buf *pemail); /*-------------------------------------------------------------*/ /* sample mail construction */ netwib_err netwox_mailex_sub(netwib_constbuf *pfrom, netwib_constbuf *pfromname, netwib_bool toisanewgroup, netwib_constbuf *pto, netwib_constbuf *psubject, netwib_buf *pemail); netwib_err netwox_mailex_subbody(netwib_constbuf *pfrom, netwib_constbuf *pfromname, netwib_bool toisanewgroup, netwib_constbuf *pto, netwib_constbuf *psubject, netwib_io *piobody, netwib_buf *pemail); netwib_err netwox_mailex_subatt(netwib_constbuf *pfrom, netwib_constbuf *pfromname, netwib_bool toisanewgroup, netwib_constbuf *pto, netwib_constbuf *psubject, netwib_constbuf *pattfilename, netwib_io *pioatt, netwib_buf *pemail); netwib_err netwox_mailex_subbodyatt(netwib_constbuf *pfrom, netwib_constbuf *pfromname, netwib_bool toisanewgroup, netwib_constbuf *pto, netwib_constbuf *psubject, netwib_io *piobody, netwib_constbuf *pattfilename, netwib_io *pioatt, netwib_buf *pemail);