Jayadev: New Member Introduction
Moderator: Rathinagiri
Re: Jayadev: New Member Introduction
Hola Jayadev
Bienvenido a esta comunidad
saludos.
Bienvenido a esta comunidad
saludos.
Re: Jayadev: New Member Introduction
Dear Jayadev,
Hello n' Hi!
Welcome to HmgForum! In anycase you are a veteran in Clipper and you are using xHarbour for quite long. When you've started xHarobur, I had no idea about it! I had just heard about xBase++, but never installed and tried it. So I assume you can contribute a lot here also. Yes I too noticed your name esp. it was an indian name. Its great now officially we are four members in this forum from India. In India most of the Clipper guys and software firms based on Clipper platform have moved to different platforms, but this xHarbour/Harbour and HMG like addons have given a new "life" to clipper programming. May be its too late but still better then never. I was scared of HMG, but Sudip insisted me to have a try, and today I'm gradually learning it.
BTW Jayadev, are you a freelancer or working for an organisation?
Regards
Swapan
Hello n' Hi!
Welcome to HmgForum! In anycase you are a veteran in Clipper and you are using xHarbour for quite long. When you've started xHarobur, I had no idea about it! I had just heard about xBase++, but never installed and tried it. So I assume you can contribute a lot here also. Yes I too noticed your name esp. it was an indian name. Its great now officially we are four members in this forum from India. In India most of the Clipper guys and software firms based on Clipper platform have moved to different platforms, but this xHarbour/Harbour and HMG like addons have given a new "life" to clipper programming. May be its too late but still better then never. I was scared of HMG, but Sudip insisted me to have a try, and today I'm gradually learning it.
BTW Jayadev, are you a freelancer or working for an organisation?
Regards
Swapan
Re: Jayadev: New Member Introduction
Dear Friends,
Many thanks for the warm welcome from Mr. Milipee, Mr. Mr. Salamandra, Mr. Vanguarda and Mr. Swapan.
Swapan, I am a free lancer.
Warm regards,
Jayadev.
Many thanks for the warm welcome from Mr. Milipee, Mr. Mr. Salamandra, Mr. Vanguarda and Mr. Swapan.
Swapan, I am a free lancer.
Warm regards,
Jayadev.
Re: Jayadev: New Member Introduction
Me too (Another similarity )jayadevu wrote: Swapan, I am a free lancer.
Regards.
Sudip
With best regards,
Sudip
Sudip
-
- Posts: 5
- Joined: Tue Nov 08, 2016 1:27 pm
Neosoftservices:New member from india
i am newer member join HMG on 08-nov-2016
i am using HMG Ansi Version for console application,
any one can help me for hb_sendmail() functionality
when i am using hb_sendmail() Error:unsuccessfull
source code:
i am using HMG Ansi Version for console application,
any one can help me for hb_sendmail() functionality
when i am using hb_sendmail() Error:unsuccessfull
source code:
Code: Select all
PROCEDURE Mymail( cFrom, cPassword, cTo, cProvider, cSubjects, aAttachment )
LOCAL cHost
LOCAL lSTARTTLS := .F.
IF !tip_ssl()
? "Error: Requires SSL support"
RETURN
ENDIF
cHost := "smtp.gmail.com"
lRet:= hb_sendmail( cHost, ;
iif( lSTARTTLS, 587, 465 ), ;
cFrom, ;
cTo, ;
NIL /* CC */, ;
{} /* BCC */, ;
"Please Find Attached Documents", ;
cSubjects,; //"test: subject sending syslock file from neosoft-testing", ;
aAttachment, ; //{"c:\neosoft\syslock.dbf","c:\neosoft\syslock1.cdx"},; //NIL /* attachment */, ;
cFrom, ;
cPassword, ;
"", ;
NIL /* nPriority */, ;
NIL /* lRead */, ;
.F. /* lTrace */, ;
.F., ;
NIL /* lNoAuth */, ;
NIL /* nTimeOut */, ;
NIL /* cReplyTo */, ;
!lSTARTTLS )
RETURN lRet
*------------------------------------------*------------------------------------------*------------------------------------------*
Function AddAttachment()
local aFiles , aArchives := {}
local nI , hZip , cArq
Local cComment := "Multiple Files in Zip"
Local FileNameZip := DiskName() + ":\" + CurDirectory + "\Attachment.zip"
/* Search Files */
aFiles := Getfile ( { {'All Files','*.*'} } , 'Get attachment' , 'c:\' , .t. , .t. )
For nI:=1 to len( aFiles )
hb_FNameSplit( aFiles [ nI ] ,@cFilePath , @cFileName, @cFileExt )
aadd(aArchives , cFilePath + cFileName + cFileExt )
next
/* If len( aFiles ) > 0
If len( aFiles ) == 1
Mailattachment( cFilePath + cFileName + cFileExt )
Else
hZip := HB_ZIPOPEN( FileNameZip )
FOR EACH cArq IN aArchives
HB_ZipStoreFile( hZip, cArq , cComment)
NEXT
HB_ZipFileClose( hZip )
Mailattachment( FileNameZip )
Endif
oMail:attach( oAttachments )
Endif */
Return (aArchives)
Warm regards
neosoftservices
neosoftservices
- serge_girard
- Posts: 3161
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Jayadev: New Member Introduction
Hi Neo, Welcome from Belgium !
hb_sendmail works fine but I'm not sure how it works with GMAIL.
Pablo or Daniel will certanly explain!
Serge
hb_sendmail works fine but I'm not sure how it works with GMAIL.
Pablo or Daniel will certanly explain!
Serge
There's nothing you can do that can't be done...
Re: Jayadev: New Member Introduction
You must search on the forum.
This topic was described many times.
This topic was described many times.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Jayadev: New Member Introduction
I wish I could help, but I have no experience with hb_sendmail. Recently I posted part of Viktor's forked Harbor ChangeLog where it mentions that it fixed some bugs. But we did not use that Harbour ...
Who really can guide you better is Daniel Maximiliano. He knows a lot about this subject.
Here's a topic in Spanish that might help until Daniel makes contact: viewtopic.php?p=45049#p45049
Who really can guide you better is Daniel Maximiliano. He knows a lot about this subject.
Here's a topic in Spanish that might help until Daniel makes contact: viewtopic.php?p=45049#p45049
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- danielmaximiliano
- Posts: 2611
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Jayadev: New Member Introduction
Hola Neosoftservices : Gmail y otros por defecto no permite conexiones de terceros a sus cuentas de correo , por ello necesita uds en la configuracion de la cuenta permitir estas conexiones ....
Hello Neosoftservices: Gmail and others by default does not allow third-party connections to your mail accounts, so you need to uds in the account configuration allow these connections ....
ENG : https://support.google.com/accounts/ans ... ?hl=en-419
ESP : https://support.google.com/accounts/ans ... ?hl=en-419
la configuracion saliente por defecto de Gmail es smtp.gmail.com port :465
incluir / include
cualquier necesidad estamos aqui para ayudarlo. Any need we are here to help you.
Hello Neosoftservices: Gmail and others by default does not allow third-party connections to your mail accounts, so you need to uds in the account configuration allow these connections ....
ENG : https://support.google.com/accounts/ans ... ?hl=en-419
ESP : https://support.google.com/accounts/ans ... ?hl=en-419
la configuracion saliente por defecto de Gmail es smtp.gmail.com port :465
incluir / include
Code: Select all
#include 'hmg.ch'
#include "simpleio.ch"
#require "hbtip"
#require "hbssl"
REQUEST __HBEXTERN__HBSSL__
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Jayadev: New Member Introduction
Hola Daniel,
En este tópico de febrero de 2016 (no muy antiguo, del forum de PCToledo en portugues) menciona que manda con suceso. Por lo que leo, parece que funciona con el Harbour de Viktor, menciona sobre la falta de um archivo LIBEAY32.DDL pero parece funcionar. Vos ya tuviste alguna experiencia con ese otro Harbour y hb_sendmail ?
--- Google translated ---
Hello Daniel,
In this topic of February 2016 (not very old, from PCToledo forum in Portuguese) he mentions that he rules with success. From what I read, it seems to work with Viktor's Harbor, mentions about the lack of a LIBEAY32.DDL file but it seems to work. Did you already have any experience with that other Harbor and hb_sendmail?
En este tópico de febrero de 2016 (no muy antiguo, del forum de PCToledo en portugues) menciona que manda con suceso. Por lo que leo, parece que funciona con el Harbour de Viktor, menciona sobre la falta de um archivo LIBEAY32.DDL pero parece funcionar. Vos ya tuviste alguna experiencia con ese otro Harbour y hb_sendmail ?
--- Google translated ---
Hello Daniel,
In this topic of February 2016 (not very old, from PCToledo forum in Portuguese) he mentions that he rules with success. From what I read, it seems to work with Viktor's Harbor, mentions about the lack of a LIBEAY32.DDL file but it seems to work. Did you already have any experience with that other Harbor and hb_sendmail?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein