[AccessD] Attaching a file to an email

Rocky Smolin - Beach Access Software bchacc at san.rr.com
Tue May 18 13:44:32 CDT 2004


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
> 


More information about the AccessD mailing list