Atomic Shrimp
Humanoid lifeform
- Local time
- Today, 23:37
- Joined
- Jun 16, 2000
- Messages
- 1,954
My application contains a table with contact details for >500 people, including their email addresses - on one of my forms, I have various ways to filter subsets of these records - what I would like to do is create a button or hyperlink that launches a mailto: for the currently filtered set of email addresses.
I already have code that builds the list, and that works fine, but...
if I insert it into the hyperlink property of a hyperlink object, it gets truncated to 255 characters
If I try to use it as a parameter for Application.FollowHyperlink, it's better, but generates runtime error 87 ('an unexpected error has occurred') if it's longer than about 1000 characters
Can anyone think of a workaround for this? I guess I could use Outlook automation, but I'm hoping there will be something a bit simpler.
(for the record, and in case anyone was concerned, the purpose of this db is not to spam people - it's a business application that sends things out to employees of the business - and the size of the distribution list shouldn't get rejected at the mail server, because that is also inside the business)
I already have code that builds the list, and that works fine, but...
if I insert it into the hyperlink property of a hyperlink object, it gets truncated to 255 characters
If I try to use it as a parameter for Application.FollowHyperlink, it's better, but generates runtime error 87 ('an unexpected error has occurred') if it's longer than about 1000 characters
Can anyone think of a workaround for this? I guess I could use Outlook automation, but I'm hoping there will be something a bit simpler.
(for the record, and in case anyone was concerned, the purpose of this db is not to spam people - it's a business application that sends things out to employees of the business - and the size of the distribution list shouldn't get rejected at the mail server, because that is also inside the business)