|
-
Nov 6th, 2000, 03:46 PM
#1
Thread Starter
Fanatic Member
I have found a program on the net that allows you to send emails via the command line (DOS). All you have to do it cd into the proper directory and then type the exe (clemail) and then put certain switches after that. Such as:
clemail -smtpserver (the name of your smtp server) -from (whoever it is from) etc
What I would like to do is write a sub that uses the shell command to call that exe. I then would cancatanate specific text boxes and combo boxes to fill in the information. I have tried this but have been unsuccesful. The following is a piece of code that I have tried to use but does not work.
____________________________________________________________
Shell ("g:\digisend\digi\clemail\clemai.exe null") & "-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
____________________________________________________________
Does anyone have any other ideas? Is the shell command best to use or should I use something else?
Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|