Gustav Brock
gustav at cactus.dk
Tue May 18 14:07:14 CDT 2004
Hi Rocky That's what I thought, I'm having problems with this code as well. Maybe it represents wishful thinking only? /gustav > Very close. Address is inserted correctly. However, the attachment is coming out in the subject line. sAddedtext contains: > ?Subject=SleepDoc Data From Alpha Basic Insomnia Attach="Alpha Basic Insomnia2.TXT" > and so what shows up in the subject line is: > SleepDoc Data From Alpha Basic Insomnia Attach="Alpha Basic Insomnia2.TXT" > Now, I'm not drawing the data from text boxes like it says in the article. I've just hard coded it. Could be a missing delimiter? > I tried adding a ? before Attach but it didn't make any difference. > Regards, > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > ----- Original Message ----- > From: "Gustav Brock" <gustav at cactus.dk> > To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> > Sent: Tuesday, May 18, 2004 10:22 AM > Subject: Re: [AccessD] Attaching a file to an email >> Hi Rocky >> >> Have a look here: >> >> http://www.tek-tips.com/gfaqs.cfm/pid/705/fid/537 >> >> Please let us know if it works for you. >> >> /gustav >> >> > I would like to export a couple of text files from an app and hook them to an email, though code. I'm using DoCmd.SendObject because it looks like it's independent of the mail client onthe >> user's >> > machine. >> >> > But is there a way to attach a file to the email which is generated by DoCmd.SendObject?