<![CDATA[HMGforum.com]]> http://www.hmgforum.com 2018-12-16T03:54:11-05:00 Smartfeed extension for phpBB <![CDATA[HMG General Help :: Re: TEXTBOX ... [ FIELD <FieldName> ] :: Reply by andyglezl]]> 2018-12-15T10:30:39-05:00 2018-12-15T10:30:39-05:00 http://www.hmgforum.com/viewtopic.php?f=5&t=5882&p=57239#p57239 *--------------
Thank you !]]>
*--------------
Thank you !]]>
<![CDATA[HMG General Help :: Re: HB_SendMail problem :: Reply by serge_girard]]> 2018-12-15T08:30:13-05:00 2018-12-15T08:30:13-05:00 http://www.hmgforum.com/viewtopic.php?f=5&t=5880&p=57236#p57236 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]]>
<![CDATA[HMG General Help :: Re: HB_SendMail problem :: Reply by serge_girard]]> 2018-12-15T16:54:03-05:00 2018-12-15T16:54:03-05:00 http://www.hmgforum.com/viewtopic.php?f=5&t=5880&p=57241#p57241
Serge]]>

Serge]]>
<![CDATA[HMG General Help :: Re: HB_SendMail problem :: Reply by serge_girard]]> 2018-12-15T16:56:58-05:00 2018-12-15T16:56:58-05:00 http://www.hmgforum.com/viewtopic.php?f=5&t=5880&p=57242#p57242
This piece

CODE: Select all

 --=_0YESNDOCYRVCMJMPWB_TIP_20181211_121813-- 
is exactly what the difference is?
It looks like -- some comment and at the end TIP + date and time...

Serge]]>

This piece

CODE: Select all

 --=_0YESNDOCYRVCMJMPWB_TIP_20181211_121813-- 
is exactly what the difference is?
It looks like -- some comment and at the end TIP + date and time...

Serge]]>
<![CDATA[HMG General Help :: Re: HB_SendMail problem :: Reply by jairpinho]]> 2018-12-15T19:04:17-05:00 2018-12-15T19:04:17-05:00 http://www.hmgforum.com/viewtopic.php?f=5&t=5880&p=57243#p57243
Georg_BA wrote:
Wed Dec 12, 2018 10:02 pm
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 made some tests and found that the problem with .txt files .rtf I was able to send putting this type of file last in the attachment

CODE: Select all

cAnexo1:= "D:\@Drive-TW\@MasterServ\Email\TipMail2\TipMail\teste.txt"
cAnexo2:= "D:\@Drive-TW\@MasterServ\Email\TipMail2\TipMail\teste2.csv"

	IF hb_SendMail("smtp.gmail.com", Val(cPort), cFrom,cTo,NIL /* CC */,{} /* BCC */,"test: body","test: port "+cPort,{cAnexo2,cAnexo1} /* attachment */,cFrom,cPassword, "", NIL /* nPriority */,  NIL /* lRead */, .F. /* lTrace */, .F., NIL /* lNoAuth */, NIL /* nTimeOut */, NIL /* cReplyTo */, iif(cPort=="465",.T.,.F.) /* lSSL */  )
		msginfo("mensagem enviada com sucesso")
		else
		msginfo("falha")
	Endif

]]>
Georg_BA wrote:
Wed Dec 12, 2018 10:02 pm
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 made some tests and found that the problem with .txt files .rtf I was able to send putting this type of file last in the attachment

CODE: Select all

cAnexo1:= "D:\@Drive-TW\@MasterServ\Email\TipMail2\TipMail\teste.txt"
cAnexo2:= "D:\@Drive-TW\@MasterServ\Email\TipMail2\TipMail\teste2.csv"

	IF hb_SendMail("smtp.gmail.com", Val(cPort), cFrom,cTo,NIL /* CC */,{} /* BCC */,"test: body","test: port "+cPort,{cAnexo2,cAnexo1} /* attachment */,cFrom,cPassword, "", NIL /* nPriority */,  NIL /* lRead */, .F. /* lTrace */, .F., NIL /* lNoAuth */, NIL /* nTimeOut */, NIL /* cReplyTo */, iif(cPort=="465",.T.,.F.) /* lSSL */  )
		msginfo("mensagem enviada com sucesso")
		else
		msginfo("falha")
	Endif

]]>
<![CDATA[General :: Ejecutar dos veces??? :: Author jorge_riv]]> 2018-12-15T15:14:48-05:00 2018-12-15T15:14:48-05:00 http://www.hmgforum.com/viewtopic.php?f=24&t=5883&p=57240#p57240 Lo abro con una opcion, pero necesito que al ingresar de nuevo a la opcion, no me abra otro, al contrario, que me maximixe o mantenga en foco, como verifico en memoria que ya esta abierto???? Algun ejemplo????]]> Lo abro con una opcion, pero necesito que al ingresar de nuevo a la opcion, no me abra otro, al contrario, que me maximixe o mantenga en foco, como verifico en memoria que ya esta abierto???? Algun ejemplo????]]>