By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,285 Members | 1,622 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,285 IT Pros & Developers. It's quick & easy.

how to send an e-mail to all record of a table?

P: n/a
I have a table with a "mail" field.
I'd like to send an e-mail to all record.
It is possible with access?
How can I do?
How can I do wit Access? and/or with Outlook?

Thank you in advance, Mario.

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
_mario.lat wrote:
I have a table with a "mail" field.
I'd like to send an e-mail to all record.
It is possible with access?
How can I do?
How can I do wit Access? and/or with Outlook?

Thank you in advance, Mario.

Call this for every record:

Sub mail(ByVal cName As String, ByVal cSubject As String, ByVal cMessage
As String)
DoCmd.SendObject acSendNoObject, , , cName, , , cSubject, cMessage,
False
End Sub
--
Bas Cost Budde
http://www.heuveltop.nl/BasCB

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.