FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Help CDO
Posts: 408
Joined: Fri Jan 29, 2010 08:14 PM
Help CDO
Posted: Tue Oct 18, 2011 11:33 PM
good;

Let's see if someone has passed this and I can help. I'm using CDO to send e-mails with FWH812 version works perfectly, but compiled with FWH1109, works fine as long as you do not attach a file, if you attach a file indicated that whatever I get this error, and as much as I look on the internet does not resolve.

NOTE: The function works perfectly in FWH812, but not FWH1109.

Any ideas?

error:


a greating;
JLL
Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Help CDO
Posted: Wed Oct 19, 2011 05:06 AM
Here, for me, sending an email with attachment is working fine via CDO using FWH ver 11.09

May be you are trying to send an attachment which is not allowed via your SMTP server. Did you try to send a different file as attachment ?.

Request you to paste a sample code here so that we can identify the problem (if any )in you code.

Regards

Anser
Posts: 408
Joined: Fri Jan 29, 2010 08:14 PM
Re: Help CDO
Posted: Wed Oct 19, 2011 01:49 PM

anserkk;

have told me that possibly the harbor version I'm using, I have seen 3.11, which version to use your FWH1109? to see if it is.

thank you very much for answering;
a greeting
JLL

Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Help CDO
Posted: Wed Oct 19, 2011 02:00 PM

JLL,
I tested with both Harbour and xHarbour versions distributed with FWH 11.09 and found that it is working fine.

I have not tested Harbour 3.11

Regards

Anser

Posts: 408
Joined: Fri Jan 29, 2010 08:14 PM
Re: Help CDO
Posted: Wed Oct 19, 2011 03:40 PM

anserkk;

which version you use in your harbour?

a greating;
JLL

Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
Posts: 302
Joined: Fri Apr 23, 2010 04:30 AM
Re: Help CDO
Posted: Wed Oct 19, 2011 08:48 PM

Hello,

Only change this line

:AddAttachment := AllTrim( aAttach[ nEle ] )

by

:AddAttachment( AllTrim( aAttach[ nEle ] ) )

This error occurs when you change from xHarbour to harbour 3, this modification don't affect programs working with xHarbour or Harbour early versions if you compile again.

Regards

Nicanor

Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
Posts: 408
Joined: Fri Jan 29, 2010 08:14 PM
Re: Help CDO
Posted: Wed Oct 19, 2011 09:14 PM
nicanor;

the perfecccion worked, thank you very much.

http://forums.fivetechsupport.com/viewtopic.php?f=6&t=22691

a greating;
JLL
Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com

Continue the discussion