SEND EMAIL
SEND EMAIL
need to send email with FiveWin, someone would have an example?
thanks
thanks
Re: SEND EMAIL
Anser,
thanks!!!!!!!!!!!
thanks!!!!!!!!!!!
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: SEND EMAIL
Is CDO supported on all the existing Windows versions?
EMG
EMG
Re: SEND EMAIL
Yes.. I used with SevenEnrico Maria Giordano wrote:Is CDO supported on all the existing Windows versions?
EMG
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: SEND EMAIL
Mr. Anser,
I'm having problems with special characters (accents), I tried to solve this:
WITH OBJECT oEmailMsg
...
:BodyPart:Charset = "utf-8"
:TextBody = 'Feliz aniversário você merece toda atenção!'
:Send()
END WITH
Can you help me?
I'm having problems with special characters (accents), I tried to solve this:
WITH OBJECT oEmailMsg
...
:BodyPart:Charset = "utf-8"
:TextBody = 'Feliz aniversário você merece toda atenção!'
:Send()
END WITH
Can you help me?
Re: SEND EMAIL
Sorry I have not tried playing with different character set in CDO.
The following link may be useful for you. There is also a sample code provided
http://msdn.microsoft.com/en-us/library ... 10%29.aspx
Regards
Anser
The following link may be useful for you. There is also a sample code provided
http://msdn.microsoft.com/en-us/library ... 10%29.aspx
Regards
Anser
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: SEND EMAIL
I'm getting erratic errors from Send() method that is not replicable. Anyone got that error and found a way to solve the problem?
EMG
EMG
Re: SEND EMAIL
There are many threads here about Email, and I'm probably on most of them.
My main problem has consistently been the need to use SSL on SMTP servers. It is simply not supported in FWH, or Harbour. At least, in all the things I have found, its just not there.
I tried CDO, and it worked on my computer, but once again, there was an epic failure on most of my clients' systems.
Two add on libraries were suggested. I obtained trial copies, but both companies said they had no idea how to use them in a FWH application. I asked here but could not receive a sample implementation.
So now, as more and more ISPs require SSL on their email servers, my clients are getting ANGRY !
I would sure love an SMTP system that works . Sadly, the native system to FWH does not support SSL either, nor does it support attachments.
I realize that there are many nice projects out there for FWH people to work on, but this need has been out there for the past 5 years !
Tim
My main problem has consistently been the need to use SSL on SMTP servers. It is simply not supported in FWH, or Harbour. At least, in all the things I have found, its just not there.
I tried CDO, and it worked on my computer, but once again, there was an epic failure on most of my clients' systems.
Two add on libraries were suggested. I obtained trial copies, but both companies said they had no idea how to use them in a FWH application. I asked here but could not receive a sample implementation.
So now, as more and more ISPs require SSL on their email servers, my clients are getting ANGRY !
I would sure love an SMTP system that works . Sadly, the native system to FWH does not support SSL either, nor does it support attachments.
I realize that there are many nice projects out there for FWH people to work on, but this need has been out there for the past 5 years !
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: SEND EMAIL
Tim,
EMG
CDOSYS does support SSL:TimStone wrote:My main problem has consistently been the need to use SSL on SMTP servers. It is simply not supported in FWH, or Harbour. At least, in all the things I have found, its just not there.
Code: Select all
oCfg:Item( "http://schemas.microsoft.com/cdo/configuration/smtpusessl" ):Value := .T.
It works fine for me, most of the time. It seems to fail only sometime. And after the fault, it works fine again on the same operation. Surely this is not a SSL problem. If it were so then it wouldn't work at all.TimStone wrote:I tried CDO, and it worked on my computer, but once again, there was an epic failure on most of my clients' systems.
That's why I'm trying to use CDOSYS. It support SSL and attachments.TimStone wrote:Sadly, the native system to FWH does not support SSL either, nor does it support attachments.
EMG
Re: SEND EMAIL
Yes, but the keyword is TRYING ... and I did implement it, but then on my customers' machines it FAILED completely. I would have to go in and check about 400 computers individually and that just isn't effective.
Tim
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: SEND EMAIL
I used CDOSYS for years on the web (IIS) and it never failed. I don't know why it fails sometimes on a FWH application, yet...
EMG
EMG
Re: SEND EMAIL
OK ... I used the setup that came in this thread with my data modifications. As I said, it worked fine on my computer.
I can try it with a few clients for testing. Maybe it will work for them.
Tim
I can try it with a few clients for testing. Maybe it will work for them.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
Re: SEND EMAIL
CDO fails in conditions where you are using port 25, to avoid this problem you must use SSL or diferent smtp port, other problem is caused if your ISP provider block port 25, i used in diferent environments with autenticated sessions and no problems since windows xp windows 2008 and servers since 2003 and servers 2012.
All applications compiled with Harbour, xHarbour and BCC, MSVC, Pelles and MINGW compilers without problems and all working fine.
Regards,
Nicanor
All applications compiled with Harbour, xHarbour and BCC, MSVC, Pelles and MINGW compilers without problems and all working fine.
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
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