Email form with both attach attachment button and send email button in it
Posted on 2006-05-28
I am slowly figuring out sending emails with attachments using CDO.
I have an email form with usual to, from, subject and message inputs and then have a button with a value "upload attachment" when clicked this submits the form to the next page where the user browses for and uploads a file attachment and then submits this file for attachment with the email.
How can I include a second button on the original email form with a value"Send Email" for the user to click when they do not want to attach any attachments just simply send the email form as is?
Thanks for your help.