Alaska Software Inc. - Empty e-mails
Username: Password:
AuthorTopic: Empty e-mails
Dirk Visser RIEmpty e-mails
on Thu, 08 Jul 2010 15:24:32 +0200
Dear all,

I use See32 from Marshall soft to send e-mail directly from my software. At 
almost all users it works well but with two it sends empty messages and 
forget the attachments. Sometime an e-mail comes through complete. Working 
with the debugger gives also sometimes a good result.

So options als firewall of virusscanner seems strange for me becuase I 
should expect that these programs accept it or not and not sometimes.

Is there anybody who has a clue of an idea to solve this problem.


Dirk Visser RI
(Directeur VigilantDMS)

Al nieuwsgierig naar versie 6.00 van VIGILANT? Kijk even op :
http://www.vigilantdms.nl/help/NL/ontwik.html#v600

Is uw bescherming tegen virussen al op orde ? VigilantDMS is geautoriseerd
dealer van Norman anti-virus software.

Voor meer informatie over onze produkten en diensten:

                http://www.vigilantdms.nl

Berichten naar VigilantDMS:
Vragen over produkten en diensten               : verkoop@vigilantdms.nl

Helpdesk voor ondersteuning soft/hardware : support@vigilantdms.nl
Joe Carrick Re: Empty e-mails
on Thu, 08 Jul 2010 07:26:26 -0700
Hi Dirk,

What are the attachments and how are they created?  I had this problem 
using print drivers to create PDF's.  My ultimate solution was to switch 
to Edgar Borger's XbpPDF class.

-Joe

On 7/8/2010 6:24 AM, Dirk Visser RI wrote:
> Dear all,
>
> I use See32 from Marshall soft to send e-mail directly from my software. At
> almost all users it works well but with two it sends empty messages and
> forget the attachments. Sometime an e-mail comes through complete. Working
> with the debugger gives also sometimes a good result.
>
> So options als firewall of virusscanner seems strange for me becuase I
> should expect that these programs accept it or not and not sometimes.
>
> Is there anybody who has a clue of an idea to solve this problem.
>
>
Dirk Visser RIRe: Empty e-mails
on Fri, 09 Jul 2010 10:34:50 +0200
Joe,

It happens with PDF and also with simple text files. Trying to debug the 
program let it sometime work fine. Last week 2 messages come through as it 
should, so it could work. But my joy was very short because soon after this 
2 good messages the samen problem occur again.

Dirk

"Joe Carrick" <joe.carrick@dslextreme.com> schreef in bericht
news:56765196$5122c8b4$633b0@news.alaska-software.com...
> Hi Dirk,
>
> What are the attachments and how are they created?  I had this problem
> using print drivers to create PDF's.  My ultimate solution was to switch
> to Edgar Borger's XbpPDF class.
>
> -Joe
>
> On 7/8/2010 6:24 AM, Dirk Visser RI wrote:
>> Dear all,
>>
>> I use See32 from Marshall soft to send e-mail directly from my software.
>> At
>> almost all users it works well but with two it sends empty messages and
>> forget the attachments. Sometime an e-mail comes through complete.
>> Working
>> with the debugger gives also sometimes a good result.
>>
>> So options als firewall of virusscanner seems strange for me becuase I
>> should expect that these programs accept it or not and not sometimes.
>>
>> Is there anybody who has a clue of an idea to solve this problem.
>>
>>
>
Joe Carrick Re: Empty e-mails
on Fri, 09 Jul 2010 05:57:24 -0700
I had the same experience.  When debugging it worked fine - then without 
the debugging it would sometimes fail.
There are several possibilities but in general, I found that it was a 
problem with the print buffers not getting flushed.  One option is to 
insert a sleep(200) between the end of the print routine and the email.  
Another is to just do a loop until FExists(cAttachment) returns .T.

If you are using a separate thread for the file creation then you must 
make sure that the print thread has finished.  In my case, I do the 
emailing at the end of the printing (within that thread) and I'm using 
XbpPDF from Edgar Borger which doesn't have the same problems as Printer 
Drivers.

-Joe


On 7/9/2010 1:34 AM, Dirk Visser RI wrote:
> Joe,
>
> It happens with PDF and also with simple text files. Trying to debug the
> program let it sometime work fine. Last week 2 messages come through as it
> should, so it could work. But my joy was very short because soon after this
> 2 good messages the samen problem occur again.
>
> Dirk
>
> "Joe Carrick"<joe.carrick@dslextreme.com>  schreef in bericht
> news:56765196$5122c8b4$633b0@news.alaska-software.com...
>    
>> Hi Dirk,
>>
>> What are the attachments and how are they created?  I had this problem
>> using print drivers to create PDF's.  My ultimate solution was to switch
>> to Edgar Borger's XbpPDF class.
>>
>> -Joe
>>
>> On 7/8/2010 6:24 AM, Dirk Visser RI wrote:
>>      
>>> Dear all,
>>>
>>> I use See32 from Marshall soft to send e-mail directly from my software.
>>> At
>>> almost all users it works well but with two it sends empty messages and
>>> forget the attachments. Sometime an e-mail comes through complete.
>>> Working
>>> with the debugger gives also sometimes a good result.
>>>
>>> So options als firewall of virusscanner seems strange for me becuase I
>>> should expect that these programs accept it or not and not sometimes.
>>>
>>> Is there anybody who has a clue of an idea to solve this problem.
>>>
>>>
>>>        
>>      
>
>
>
Dirk Visser RIRe: Empty e-mails
on Sun, 11 Jul 2010 14:00:47 +0200
Joe,

I don't print a PDF and then send an email. Everything is ready for sending 
the e-mail but still it is empty.

Making PDF with PDF995 works excelent.


Dirk Visser RI
(Directeur VigilantDMS)

Al nieuwsgierig naar versie 6.00 van VIGILANT? Kijk even op :
http://www.vigilantdms.nl/help/NL/ontwik.html#v600

Is uw bescherming tegen virussen al op orde ? VigilantDMS is geautoriseerd
dealer van Norman anti-virus software.

Voor meer informatie over onze produkten en diensten:

                http://www.vigilantdms.nl

Berichten naar VigilantDMS:
Vragen over produkten en diensten               : verkoop@vigilantdms.nl

Helpdesk voor ondersteuning soft/hardware : support@vigilantdms.nl


"Joe Carrick" <joe.carrick@dslextreme.com> schreef in bericht 
news:6fa3ec96$7f45c496$71565@news.alaska-software.com...
>I had the same experience.  When debugging it worked fine - then without 
>the debugging it would sometimes fail.
> There are several possibilities but in general, I found that it was a 
> problem with the print buffers not getting flushed.  One option is to 
> insert a sleep(200) between the end of the print routine and the email. 
> Another is to just do a loop until FExists(cAttachment) returns .T.
>
> If you are using a separate thread for the file creation then you must 
> make sure that the print thread has finished.  In my case, I do the 
> emailing at the end of the printing (within that thread) and I'm using 
> XbpPDF from Edgar Borger which doesn't have the same problems as Printer 
> Drivers.
>
> -Joe
>
>
> On 7/9/2010 1:34 AM, Dirk Visser RI wrote:
>> Joe,
>>
>> It happens with PDF and also with simple text files. Trying to debug the
>> program let it sometime work fine. Last week 2 messages come through as 
>> it
>> should, so it could work. But my joy was very short because soon after 
>> this
>> 2 good messages the samen problem occur again.
>>
>> Dirk
>>
>> "Joe Carrick"<joe.carrick@dslextreme.com>  schreef in bericht
>> news:56765196$5122c8b4$633b0@news.alaska-software.com...
>>
>>> Hi Dirk,
>>>
>>> What are the attachments and how are they created?  I had this problem
>>> using print drivers to create PDF's.  My ultimate solution was to switch
>>> to Edgar Borger's XbpPDF class.
>>>
>>> -Joe
>>>
>>> On 7/8/2010 6:24 AM, Dirk Visser RI wrote:
>>>
>>>> Dear all,
>>>>
>>>> I use See32 from Marshall soft to send e-mail directly from my 
>>>> software.
>>>> At
>>>> almost all users it works well but with two it sends empty messages and
>>>> forget the attachments. Sometime an e-mail comes through complete.
>>>> Working
>>>> with the debugger gives also sometimes a good result.
>>>>
>>>> So options als firewall of virusscanner seems strange for me becuase I
>>>> should expect that these programs accept it or not and not sometimes.
>>>>
>>>> Is there anybody who has a clue of an idea to solve this problem.
>>>>
>>>>
>>>>
>>>
>>
>>
>>
Rudolf ReinthalerRe: Empty e-mails
on Mon, 12 Jul 2010 08:05:35 +0200
Hello,
where is the logfile as recommended ? Only there you can see what 
happens. You see also the attachment exactly in the logfile.

regards
Rudolf


On 11.07.2010 14:00, Dirk Visser RI wrote:
> Joe,
>
> I don't print a PDF and then send an email. Everything is ready for sending
> the e-mail but still it is empty.
>
> Making PDF with PDF995 works excelent.
>
>
Thomas Braun
Re: Empty e-mails
on Thu, 08 Jul 2010 17:51:05 +0200
Dirk Visser RI wrote:

> Dear all,
> 
> I use See32 from Marshall soft to send e-mail directly from my software. At 
> almost all users it works well but with two it sends empty messages and 
> forget the attachments. Sometime an e-mail comes through complete. 

Are you sure that See32 does not send the email correctly?

Try to activate logging via seeStringParam(SEE_LOG_FILE,...) to see what
See32 actually sends.

Thomas
Joe Carrick Re: Empty e-mails
on Thu, 08 Jul 2010 09:47:35 -0700
Hi Thomas,

IMO, See32 is probably working just fine in this case.  Evidently, it is 
sending the email but his problem is that in some cases there's no 
content (no message or attachment).  Often I send emails with attached 
PDF's.  If the PDF doesn't exist then the email might be empty if the 
message is created based on the PDF being available.  IOW, an email is 
sent to the recipient(s) with or possibly without a subject, no message 
and no attachment.

I had the problem when using a printer driver such as PDF995 to create 
the PDF.  In some cases the PDF was not created in time for it to be 
attached to the eMail.  In order to solve this problem, I acquired 
XbpPDF from Edgar and I've never had the problem again.  My PDF's are 
always available before the email is ready to be sent.

-Joe

On 7/8/2010 8:51 AM, Thomas Braun wrote:
> Dirk Visser RI wrote:
>
>> Dear all,
>>
>> I use See32 from Marshall soft to send e-mail directly from my software. At
>> almost all users it works well but with two it sends empty messages and
>> forget the attachments. Sometime an e-mail comes through complete.
>
> Are you sure that See32 does not send the email correctly?
>
> Try to activate logging via seeStringParam(SEE_LOG_FILE,...) to see what
> See32 actually sends.
>
> Thomas
Rudolf ReinthalerRe: Empty e-mails
on Fri, 09 Jul 2010 09:50:01 +0200
Hello,
check the transfer with the logfile : nCode := XseeStringParam(0, 
SEE_LOG_FILE, @cDiagFile)
check if the attachment is available with fexists() bevor sending.
Had also a problem with a unallowed characters for example in subject, 
the mail was sent, the server accepted all, but the mail was not sent 
correct.

regards
Rudolf




Am 08.07.2010 18:47, schrieb Joe Carrick:
> Hi Thomas,
>
> IMO, See32 is probably working just fine in this case. Evidently, it is
> sending the email but his problem is that in some cases there's no
> content (no message or attachment). Often I send emails with attached
> PDF's. If the PDF doesn't exist then the email might be empty if the
> message is created based on the PDF being available. IOW, an email is
> sent to the recipient(s) with or possibly without a subject, no message
> and no attachment.
>
> I had the problem when using a printer driver such as PDF995 to create
> the PDF. In some cases the PDF was not created in time for it to be
> attached to the eMail. In order to solve this problem, I acquired XbpPDF
> from Edgar and I've never had the problem again. My PDF's are always
> available before the email is ready to be sent.
>
> -Joe
>
> On 7/8/2010 8:51 AM, Thomas Braun wrote:
>> Dirk Visser RI wrote:
>>
>>> Dear all,
>>>
>>> I use See32 from Marshall soft to send e-mail directly from my
>>> software. At
>>> almost all users it works well but with two it sends empty messages and
>>> forget the attachments. Sometime an e-mail comes through complete.
>>
>> Are you sure that See32 does not send the email correctly?
>>
>> Try to activate logging via seeStringParam(SEE_LOG_FILE,...) to see what
>> See32 actually sends.
>>
>> Thomas
>
Thomas Braun
Re: Empty e-mails
on Fri, 09 Jul 2010 11:05:23 +0200
Joe Carrick wrote:

> IMO, See32 is probably working just fine in this case.

To be sure, he needs to activate loggin to find out if see32 is causing
this or something else on the way to the recipients mailbox.

> Evidently, it is sending the email but his problem is that in some cases there's no 
> content (no message or attachment).

Without checking the log file, there is no evidence at all 

> I had the problem when using a printer driver such as PDF995 to create 
> the PDF.  In some cases the PDF was not created in time for it to be 
> attached to the eMail.

Hmmm - my version of see32 throws a runtime error if the attachement
can't be found.

Thomas