Karen,
The file is always sent. That is not a problem.
Outlook freezes up with a message stating something like: "Another
program is trying to access Outlook."
The screen then will not allow me to access any part of Outlook until I
exit then restart Outlook.
I added the SET VAR vEmresult = (DLFree('mapimail4.rbl')) to the end of
the code at someone's suggestion a while back hoping that would care for
the problem.
I thought it did but the problem has continued.
I noticed in some of the questions about email they use this type of
code:
PRINT Invoice WHERE TransID = 1031 +
OPTION PDF|FILENAME Invoice_1031.PDF +
|EMAIL ON +
|EMAIL_TO_LIST [email protected], [email protected] +
Can these be defined variables as well?
|EMAIL_FROM_NAME John D. Johnson +
|EMAIL_FROM_ADDRESS [email protected] +
|EMAIL_SUBJECT Imagine The Possibilities! +
|EMAIL_BODY Attached is the invoice - sent via R:BASE. Because we Can! +
|EMAIL_ATTACHMENTS C:\Letters\otherstuff.pdf#C:\Letters\morestuff.pdf +
|EMAIL_DELETE_AFTER_SEND ON +
|EMAIL_SHOW_DIALOG OFF
RETURN
What is the difference between using variables and using the above code?
I am so lacking in how email programs work.
James Belisle
Making Information Systems People Friendly Since 1990
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, January 11, 2012 8:06 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: continued email problem
James: I suppose the first thing I would do is to put a pause
statement after the creation of the PDF file. Perhaps the PDF file
has not yet been fully formed before RBase gets to the line where
you're trying to send out the file. Maybe put a "pause for 5" in
there.
Karen
In a message dated 1/11/2012 7:43:26 AM Central Standard Time,
[email protected] writes:
I have read many threads form the past on emails but still cannot figure
why Outlook or RBASE lock up.
The only difference seems to be we create the PDF just before sending
it.
This has been a thorn in my flesh for some time and I would like to get
it fixed.
Any suggestions sure would be appreciated.