R
Rick Brandt
Rockn said:It is using the SendObject in VBA and cuts it off at 255 charachters.
He will experience the same thing.
Just tried it with a recipient list 5276 characters long. Worked just fine.
Rockn said:It is using the SendObject in VBA and cuts it off at 255 charachters.
He will experience the same thing.
Bald said:I posted a reply over half an hour ago - but it hasn't appeared in the
discussion group window yet. Maybe the system thinks that I have got
enough help!
Just in case that reply has got lost in the ether somewhere I will
try again! I have now got an email form opened in Outlook Express
with all my email addresses. Just one problem! Each email address
is followed by '#Mailto:' followed by a repeat of the email address
and ending with another '#'. As a result the email addresses are not
recognised. Where did this add-on appear from & how can I get rid of
it?
It's now almost midnight here in Northern Ireland so I am off to
bed!! I look forward to getting the final piece of the jigsaw in the
morning!
Rick Brandt said:Dim db As Database
Dim rs As Recordset
Dim ToVar As String
Dim sql As String
sql = "SELECT EmailAddress FROM TableName"
Set db = CurrentDb
Set rs = db.OpenRecordset(sql, dbOpenSnapshot)
Do Until rs.EOF
ToVar = ToVar & rs!textField & ";"
rs.MoveNext
Loop
DoCmd.SendObject acSendNoObject, , , ToVar,,,"Subject","Message",True