AccessRube
Registered User.
- Local time
- Today, 17:16
- Joined
- May 21, 2012
- Messages
- 13
Hello all,
I've got a module for sending emails that works fine, with one exception; I'm attaching a few files with MyMail.Attachments.Add, which is attaching the files fine, except it's ignoring the value I pass it in "Displayname", and simply using the entire file name, so, MyMail.Attachments.Add "C:\Users\User1\Desktop\DSFB_EmployeeRegistrationLetter_5.2.12.docx", olByValue, 1, "Registration Instructions" is attaching a file called "DSFB_EmployeeRegistrationLetter_5.2.12.docx", instead of "Registration Instructions". After doing some googling it seems like this was in issue with earlier versions, but I couldn't find a fix for this with 2010. Any thoughts, suggestions? What am I missing?
Thanks
I've got a module for sending emails that works fine, with one exception; I'm attaching a few files with MyMail.Attachments.Add, which is attaching the files fine, except it's ignoring the value I pass it in "Displayname", and simply using the entire file name, so, MyMail.Attachments.Add "C:\Users\User1\Desktop\DSFB_EmployeeRegistrationLetter_5.2.12.docx", olByValue, 1, "Registration Instructions" is attaching a file called "DSFB_EmployeeRegistrationLetter_5.2.12.docx", instead of "Registration Instructions". After doing some googling it seems like this was in issue with earlier versions, but I couldn't find a fix for this with 2010. Any thoughts, suggestions? What am I missing?
Thanks