HB_SendMail problem
Moderator: Rathinagiri
HB_SendMail problem
Good day
I have a problem with hb_SendMail when I submit an attachment
type CSV, TXT will deliver it with the text added at the end.
Have you met with that?
sample:
Send file contains:
<Cell><Data ss:Type="String">8588005718486</Data></Cell>
<Cell><Data ss:Type="String">9</Data></Cell>
<Cell><Data ss:Type="String">1.0833</Data></Cell>
</Row>
</Table>
</Worksheet>\rn</Workbook>
Receive file containing
<Cell><Data ss:Type="String">8588005718486</Data></Cell>
<Cell><Data ss:Type="String">9</Data></Cell>
<Cell><Data ss:Type="String">1.0833</Data></Cell>
</Row>
</Table>
</Worksheet>\rn</Workbook>--=_0YESNDOCYRVCMJMPWB_TIP_20181211_121813--
Thanks for help
I have a problem with hb_SendMail when I submit an attachment
type CSV, TXT will deliver it with the text added at the end.
Have you met with that?
sample:
Send file contains:
<Cell><Data ss:Type="String">8588005718486</Data></Cell>
<Cell><Data ss:Type="String">9</Data></Cell>
<Cell><Data ss:Type="String">1.0833</Data></Cell>
</Row>
</Table>
</Worksheet>\rn</Workbook>
Receive file containing
<Cell><Data ss:Type="String">8588005718486</Data></Cell>
<Cell><Data ss:Type="String">9</Data></Cell>
<Cell><Data ss:Type="String">1.0833</Data></Cell>
</Row>
</Table>
</Worksheet>\rn</Workbook>--=_0YESNDOCYRVCMJMPWB_TIP_20181211_121813--
Thanks for help
- serge_girard
- Posts: 3161
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HB_SendMail problem
George
Please send us also the HB_SENDMAIL command you use and how it is filled up.
Serge
Please send us also the HB_SENDMAIL command you use and how it is filled up.
Serge
There's nothing you can do that can't be done...
Re: HB_SendMail problem
Serge
Thanks for help
I use HMG344,
ssleay32.dll 28.04.2016 size 368460
libeay32.dll 28.04.2016 size 1707520
nSMTPPort=25
ok_mail= hb_SendMail(cSMTPServer, nSMTPPort, cFromX,cTo,NIL /* CC */,{} /* BCC */,cBody,cSubject+' '+cnobj,{cCSVFile},cSMTPUser,cSMTPPassword, "", NIL /* nPriority */, NIL /* lRead */, .F. /* lTrace */, .F., lNoAuth /* lNoAuth */, nTimeOut /* nTimeOut */, NIL /* cReplyTo */, iif(nSMTPPort=465,.T.,.F.) /* lSSL */ )
Thanks for help
I use HMG344,
ssleay32.dll 28.04.2016 size 368460
libeay32.dll 28.04.2016 size 1707520
nSMTPPort=25
ok_mail= hb_SendMail(cSMTPServer, nSMTPPort, cFromX,cTo,NIL /* CC */,{} /* BCC */,cBody,cSubject+' '+cnobj,{cCSVFile},cSMTPUser,cSMTPPassword, "", NIL /* nPriority */, NIL /* lRead */, .F. /* lTrace */, .F., lNoAuth /* lNoAuth */, nTimeOut /* nTimeOut */, NIL /* cReplyTo */, iif(nSMTPPort=465,.T.,.F.) /* lSSL */ )
- mustafa
- Posts: 1158
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: HB_SendMail problem
Hola mira el código fuente de esta
aplicación sobre el envio de e-mails
Mira --> Apoyo_2.prg
haber si te puede servir ?
saludos
Mustafa
http://hmgforum.com/viewtopic.php?f=9&t ... hot#p47421
ATTACHMENTS
Screenshot_Captura_Pantalla_New_9-Mail_Counter_Print.zip
*------------------------------------------------------------------------*
Hi, look at the source code of this
application about sending e-mails
View --> Apoyo_2.prg
Have I can serve you?
regards
aplicación sobre el envio de e-mails
Mira --> Apoyo_2.prg
haber si te puede servir ?
saludos
Mustafa
http://hmgforum.com/viewtopic.php?f=9&t ... hot#p47421
ATTACHMENTS
Screenshot_Captura_Pantalla_New_9-Mail_Counter_Print.zip
*------------------------------------------------------------------------*
Hi, look at the source code of this
application about sending e-mails
View --> Apoyo_2.prg
Have I can serve you?
regards
Re: HB_SendMail problem
I greet the mustafa
Thanks for help
I regularly follow your contributions and are very inspiring
I try CDO, hb_sendmail seemed easier to me
I have already started the problem with the external program https://www.tbare.com/software/swithmail/ that I used with a clipper
I was wondering if someone had met with anyone, or to find out what was causing it
with greetings Georg
Thanks for help
I regularly follow your contributions and are very inspiring
I try CDO, hb_sendmail seemed easier to me
I have already started the problem with the external program https://www.tbare.com/software/swithmail/ that I used with a clipper
I was wondering if someone had met with anyone, or to find out what was causing it
with greetings Georg
Re: HB_SendMail problem
Starting ... testing send emails
HMG 3.4.4
Never OK ???
HMG 3.4.4
Code: Select all
#include <hmg.ch>
#require "hbssl"
#require "hbtip"
Function Main
Load Window Main
Main.Center
Main.Activate
Return
Function clic_button_enviar()
IF ! tip_SSL()
MsgInfo( "Error: Requires SSL support" )
RETURN Nil
ENDIF
msginfo("OK !")
Return Nil
Re: HB_SendMail problem
Hello Susviela
with the test and sending the message is no problem
The problem is adding some seqence to the file at the end
this will cause a data import error
with the test and sending the message is no problem
The problem is adding some seqence to the file at the end
this will cause a data import error
- mustafa
- Posts: 1158
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: HB_SendMail problem
Hi Georg_BA
View --> http://hmgforum.com/viewtopic.php?f=24&t=3473
by danielmaximiliano
regards
Mustafa
View --> http://hmgforum.com/viewtopic.php?f=24&t=3473
by danielmaximiliano
regards
Mustafa
Re: HB_SendMail problem
Seguindo .... http://www.hmgforum.com/viewtopic.php?t=5033
include in IDE/config
inc=yes
head=native
libs=hbtip
libs=hbssl
libs=libeay32
libs=ssleay32
NOT SUCESS !!!
- serge_girard
- Posts: 3161
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HB_SendMail problem
So the problem is your file and not hb_sendmail !
Is the file you send created by the program or is it an existing file?
Serge
Is the file you send created by the program or is it an existing file?
Serge
There's nothing you can do that can't be done...