I have a code to automatically send e-mails to certain e-mail addresses:
Private Sub cmdSendMail_Click()
Dim rsEmail As DAO.Recordset
Dim strEmail As String
Set rsEmail = CurrentDb.OpenRecordset("sorting")
Do While Not rsEmail.EOF
strEmail = rsEmail.Fields("EmailAddress").Value
DoCmd.SendObject , , , strEmail, , , "NCFC Fanzine Subscription", "Our records show that your subscription is due for renewal, please fill in the form at this web address to renew,yours sincerly,The Editor"
rsEmail.MoveNext
Loop
Set rsEmail = Nothing
MsgBox "Emails have been sent to all subscribers that need to update there subscription"
End Sub
however i would like NOT to be given the oppurtunity to edit the messasge in outlook, any easy way to do this?
Just as an extra, how do i format the message text in a more appropriate way (make it go on more than one line!)
cheerz!
Private Sub cmdSendMail_Click()
Dim rsEmail As DAO.Recordset
Dim strEmail As String
Set rsEmail = CurrentDb.OpenRecordset("sorting")
Do While Not rsEmail.EOF
strEmail = rsEmail.Fields("EmailAddress").Value
DoCmd.SendObject , , , strEmail, , , "NCFC Fanzine Subscription", "Our records show that your subscription is due for renewal, please fill in the form at this web address to renew,yours sincerly,The Editor"
rsEmail.MoveNext
Loop
Set rsEmail = Nothing
MsgBox "Emails have been sent to all subscribers that need to update there subscription"
End Sub
however i would like NOT to be given the oppurtunity to edit the messasge in outlook, any easy way to do this?
Just as an extra, how do i format the message text in a more appropriate way (make it go on more than one line!)
cheerz!