I tried that. Here is the syntax

clemail -smtpserver ****** -to [email protected] -subject subject -body test -from [email protected] -attach text.txt

This will send an email to the spec. email address, with a file attached (text.txt) from [email protected] with the subject being subject and the bosy being test

The following is what I put in the VB app.

Shell ("G:\DigiSend\digi\CLEMAIL\clemail.exe") & -quiet & -smtpserver ******** & -from Digital Sender & _
-subject & txtnameofodoc.Text & -body Attached is a file from the digital sender application & _
-attach g:\q\ & txtcboquery.Text & -to & txtemail.Text

When I do this it stops at the smtpserver (I have the address there but for privacy reasons I have put the astericks). It then states expected: end of statement.

Any suggestions?