Mitsules, Mark S. (Newport News)
Mark.Mitsules at ngc.com
Tue May 18 14:13:44 CDT 2004
Just off the top of my head I see that the other fields are of the form "&Subject=", where there is a preceding "&"...I don't see that for the Attach part. Perhaps it should read "&Attach="...what do you think? Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, May 18, 2004 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Attaching a file to an email 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? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com