Darryl Collins
Darryl.Collins at coles.com.au
Tue Jul 8 21:42:27 CDT 2008
Rocky, I think it may have something to do with how Outlook is called. I know if right mouse click something and attach it as a file or whatever, the email window that outlook calls does NOT have any sig details etc, but using the "email > New Email" route does have the sig. I did read a thread about how to get around this using API calls - I think it was on the Excel list. Anyway, apparently it depends on how you call outlook, using one method the sigs will work, and some other ways it does not. Not really helpful at this point I know, but at least you know you are not going mad or something! see what i can did up. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, 9 July 2008 3:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Email Signatures Dear List: In a legacy app there are two places where the user can generate an email to the client. IN both of these places the code is identical: CreateOutlookEmail_MailTo varSubject:=strSubject, varTo:=strEmailAddressesTo, varCC:=strEmailAddressesCc, _ varBCC:=strEmailAddressesBcc, varMessage:=strWholeStory where I've set up the TO, Cc, and Bcc addresses in the strings. The sub is: Public Function CreateOutlookEmail_MailTo(Optional varSubject As Variant, Optional varTo As Variant, _ Optional varCC As Variant, Optional varBCC As Variant, _ Optional varMessage As Variant, Optional varAttachmentPath As Variant) As Boolean 'Creates an Outlook e-mail for the user to send. 'This method is the same as the MailTo method, which does not involve the Outlook security prompt. '1/12/07 When I call this email function from one form the email generated includes the default signature which I have set up in Outlook. When I call it from the other form, there's no signature. Code's identical (seemingly). Any ideas on why the difference? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com <http://www.e-z-mrp.com/> www.bchacc.com <http://www.bchacc.com/> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material.