Re: msmapi control - problem sending attachments



Hi Jan

In a test send to staff within our organization (all using the same virus scanner (avg) , network, exchange server and mail server) most got the attachments but some did not.

but if the message is opened in the sent items folder and forwarded to the same person they get it fine.

Cheers
John




"Jan Bucek" <bucek.jan@xxxxxxx> wrote in message news:u#k5eOFaIHA.5768@xxxxxxxxxxxxxxxxxxxxxxx
John Davy napsal(a):
I have a routine that sends a number of statements by email to a number of clients (up to 1000)
The statements may have up to 6 separate pdf's attached and a number of jpg's

The batch routine that sends these works fine but a number of clients are reporting that they are not getting the attachments

When I check the sent items, the emails are all there and properly formed with the attachments in place
If a client who has this problem returns the email to me there is no attachment.

I have set the switch in outlook to not send immediately in the hopes of being able to review and then send from the outbox after the vfp process was complete but this does not seem to prevent the immediate sending of emails.

- do you use Outlook or Outlook Express?

- IMHO to prevent immediate sending gives you nothing, you will see the same as in "sent" folder

- I guess the attachments are deleted on the way by antivirus on the mail servers or on PC of client


It seems to me to be a timing thing and that a lag should be placed in the process in order to allow outlook to properly form the email message before sending it.
If I use the win api sleep function to provide that lag time, does this allow for other event steams to continue while it waits - or would the inkey() function be better?

Has anyone else experienced this problem and found another solution?

Any help appreciated
John Davy

vfp6 / winxp / outlook


.



Relevant Pages

  • Re: Problem with attachments
    ... I am currently using an RTE to send ... emails containing attachments to users. ... displayed correctly in "heavy" mail clients such as Lotus Notes, ...
    (comp.mail.sendmail)
  • Some email recipients get corrupted or garbled attachments
    ... I have a user in my office that sends emails with attachments from ... Outlook 2003 SP1. ... Most of his clients get the emails and can open the ...
    (microsoft.public.outlook)
  • Re: E-mails with attachments are lost
    ... > recieving emails with attachments from specific clients. ... > send emails without any attachments they come in just fine. ... I have checked outlook junk folder ...
    (microsoft.public.exchange.clients)
  • Re: E-mails with attachments are lost
    ... > recieving emails with attachments from specific clients. ... > send emails without any attachments they come in just fine. ... I have checked outlook junk folder ...
    (microsoft.public.outlook.general)
  • Re: E-mails with attachments are lost
    ... > recieving emails with attachments from specific clients. ... > send emails without any attachments they come in just fine. ... I have checked outlook junk folder ...
    (microsoft.public.outlook)