I probably should have worded it better. I would like to send an email it had been using an ANCI C program. I frequently use sendmail from within these programs. I just need to know how to attach a binary file to a message if necessary, wrong within the software that we write. Scott Thompson Programming & Server Admin Internet Brokers Group scotty@internetbrokers.ab.ca http://www.internetbrokers.ab.ca Office: (403) 232-1032 Fax: (403) 265-2843