I have a club database that I send bulk emails out of. This works well except now the mails do not arrive. I think spam filters are seeing 400 emails in the bcc field and assuming it is spam. If I split them up, it works. Is there anyway to automatically send out the email a few times, splitting the Bcc's into say groups of 50?
Here is the current routine:
Private Sub newsletter_Click()
On Error GoTo Err_newsletter_Click
Dim varEmail
Dim rs As DAO.Recordset
Set rs = Me.RecordsetClone
Dim X As String
Dim Y As String
rs.MoveFirst
Do While Not rs.EOF()
If rs! HomeEmail & "" <> "" Then
varEmail = varEmail & ";" & rs! HomeEmail
rs.MoveNext
Loop
varEmail = Mid(varEmail, 2)
X = "Please send an email to xxxx@xxx.com if you wish to opt out of future Newsletter mailings"
Y = "" & Chr(13) & Chr(13) & "------------------------------------------------------------------------------------------------------------"
Message = X + Y
DoCmd.SendObject acSendNoObject, , , "xxxx@xxx.com", , varEmail, " Newsletter", Message, True
Exit_newsletter_Click:
Exit Sub
Err_newsletter_Click:
If Err.Number <> 2501 Then
Msgbox Err.Description
End If
Resume Exit_newsletter_Click
End Sub
Paul Beddows
Consulting, Avaya/EAS implementation, Training
Vancouver, Canada
E-mail paul at natcoa.com
Here is the current routine:
Private Sub newsletter_Click()
On Error GoTo Err_newsletter_Click
Dim varEmail
Dim rs As DAO.Recordset
Set rs = Me.RecordsetClone
Dim X As String
Dim Y As String
rs.MoveFirst
Do While Not rs.EOF()
If rs! HomeEmail & "" <> "" Then
varEmail = varEmail & ";" & rs! HomeEmail
rs.MoveNext
Loop
varEmail = Mid(varEmail, 2)
X = "Please send an email to xxxx@xxx.com if you wish to opt out of future Newsletter mailings"
Y = "" & Chr(13) & Chr(13) & "------------------------------------------------------------------------------------------------------------"
Message = X + Y
DoCmd.SendObject acSendNoObject, , , "xxxx@xxx.com", , varEmail, " Newsletter", Message, True
Exit_newsletter_Click:
Exit Sub
Err_newsletter_Click:
If Err.Number <> 2501 Then
Msgbox Err.Description
End If
Resume Exit_newsletter_Click
End Sub
Paul Beddows
Consulting, Avaya/EAS implementation, Training
Vancouver, Canada
E-mail paul at natcoa.com