I have a web site where I send emails to members with email addresses in file using the following code:
veMailAddress= veMail
Set myMail=CreateObject("CDO.Message")
myMail.Subject=vSubject
myMail.From=vSender
myMail.To=veMailAddress
myMail.TextBody=veMailMessage
myMail.Send
set myMail=nothing
This works well however, I want to be able to attach newsletters to the emails and I don't know the code. I would guess something like "MyMail.Attachment" should do it where Attachment is a string containing the what I want attached.
Thanks for any help
smokey joe
veMailAddress= veMail
Set myMail=CreateObject("CDO.Message")
myMail.Subject=vSubject
myMail.From=vSender
myMail.To=veMailAddress
myMail.TextBody=veMailMessage
myMail.Send
set myMail=nothing
This works well however, I want to be able to attach newsletters to the emails and I don't know the code. I would guess something like "MyMail.Attachment" should do it where Attachment is a string containing the what I want attached.
Thanks for any help
smokey joe