www.pudn.com > FindMail.zip > smtp.h
int smtp_connect(char *host, int port, int timeout); int smtp_sendmessage(int sd, char *AddrFrom, char **AddrTo, int AddrToCount, char *AddrReply, char *subject, char *msg, char **AttachFiles, int AttachCount, int timeout); int smtp_disconnect(int sd); int smtp_cmd(int sd, char *cmd, int success_code); int smtp_getreply(int sd, char *reply); int smtp_sendfile(int sd, char *AddrFrom, char *AddrTo, char *filename); int smtp_sendmsg(int sd, char *from, char *to, char *subject, char *msg, int timeout); int smtp_test_from(int sd, char *from); int smtp_test_to(int sd, char *to);