Help CDO

Help CDO

Postby jll-fwh » 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:
Image

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
User avatar
jll-fwh
 
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia

Re: Help CDO

Postby anserkk » Wed Oct 19, 2011 5: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
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Help CDO

Postby jll-fwh » Wed Oct 19, 2011 1: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
User avatar
jll-fwh
 
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia

Re: Help CDO

Postby anserkk » Wed Oct 19, 2011 2: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
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Help CDO

Postby jll-fwh » Wed Oct 19, 2011 3: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
User avatar
jll-fwh
 
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia

Re: Help CDO

Postby nnicanor » Wed Oct 19, 2011 8: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
nnicanor
 
Posts: 302
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Re: Help CDO

Postby jll-fwh » Wed Oct 19, 2011 9: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
User avatar
jll-fwh
 
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 95 guests