I'm using VBA and Access to send E-Mails through Outlook. this is the code that i am using.
code:--------------------------------------------------------------------------------
objMessage.Subject = Me![e-mail subject]
objMessage.Text = Me![e-mail text]
Set objRecipient = objMessage.Recipients.Add
objRecipient.Name = Me![E-mail address]
objRecipient.Resolve
objMessage.Send ShowDialog:=True
objSession.Logoff
--------------------------------------------------------------------------------
In outlook, to send to multiple recievers of an E-Mail, Outlook uses a semi-colon ( to seperate the E-Mail addresses.
What i want to do is send an e-mail to multiple addresses, in the To command of the E-Mail "objRecipient.Name"
In the field that the code takes the Address from, i want to be able to have me@me.com; you@you.com and it send to both those E-Mail addresses.
Does this make sense
if it does, is it possible?
Thanks
Muzz
code:--------------------------------------------------------------------------------
objMessage.Subject = Me![e-mail subject]
objMessage.Text = Me![e-mail text]
Set objRecipient = objMessage.Recipients.Add
objRecipient.Name = Me![E-mail address]
objRecipient.Resolve
objMessage.Send ShowDialog:=True
objSession.Logoff
--------------------------------------------------------------------------------
In outlook, to send to multiple recievers of an E-Mail, Outlook uses a semi-colon ( to seperate the E-Mail addresses.
What i want to do is send an e-mail to multiple addresses, in the To command of the E-Mail "objRecipient.Name"
In the field that the code takes the Address from, i want to be able to have me@me.com; you@you.com and it send to both those E-Mail addresses.
Does this make sense
if it does, is it possible?
Thanks
Muzz