Search found 229 matches

by PedroAlex
Mon Jun 13, 2022 11:05 am
Forum: Xbase++ 2.0
Topic: Strange error when printing that I can't understand..
Replies: 8
Views: 3430

Strange error when printing that I can't understand..

hello! I have a problem in a POS system where I have an application that prints hundreds of receipts a day, but occasionally this error appears and the program interrupts. here is the error: ------------------------------------------------------------------------------ Registo de Erro de "D:\User\Ab...
by PedroAlex
Sat May 14, 2022 3:20 am
Forum: Xbase++ 2.0
Topic: XML file attached in Gmail appears open in message body
Replies: 8
Views: 3791

Re: XML file attached in Gmail appears open in message body

Hi Chris, This strange behavior does not stop the system from working. The XML file is sent as an attachment. It simply appears all open in the body of the email and only at the end of all this text is the link to download. However, I repeat this situation only if the email received is consulted in ...
by PedroAlex
Fri May 13, 2022 1:14 am
Forum: Xbase++ 2.0
Topic: XML file attached in Gmail appears open in message body
Replies: 8
Views: 3791

Re: XML file attached in Gmail appears open in message body

Hi Chris,
Yes, I've tried other settings and it's the same.
Can you try with this code?
The problem only happens when the recipient opens gmail in the browser, eg. in Chrome.
I've already tested it with Chilkat and this problem doesn't happen.
by PedroAlex
Mon May 09, 2022 10:24 am
Forum: Xbase++ 2.0
Topic: XML file attached in Gmail appears open in message body
Replies: 8
Views: 3791

Re: XML file attached in Gmail appears open in message body

Hi Chris, here is sample code : //---------------------------------------------------------------------------------- Procedure SendMail_SMTP() //---------------------------------------------------------------------------------- LOCAL oSmtp := SMTPClient():new( "smtp.gmail.com",465) LOCAL oSender := ...
by PedroAlex
Mon May 09, 2022 3:58 am
Forum: Xbase++ 2.0
Topic: XML file attached in Gmail appears open in message body
Replies: 8
Views: 3791

Re: XML file attached in Gmail appears open in message body

Roger,
I tried your suggestion but got the same result.
Does this happen with you too?
by PedroAlex
Fri May 06, 2022 8:57 am
Forum: Xbase++ 2.0
Topic: XML file attached in Gmail appears open in message body
Replies: 8
Views: 3791

XML file attached in Gmail appears open in message body

Hi, guys, I have a problem that I don't see the reason for. If I send an XML file as an attachment through a program written in xbase, the recipient receives the entire file open in the body of the email message and not as an attachment. But if I send the same XML file as an attachment through Chrom...
by PedroAlex
Wed Apr 06, 2022 11:47 am
Forum: Xbase++ 2.0
Topic: SmtpClient() does not connect to gmail.
Replies: 12
Views: 7140

Re: SmtpClient() does not connect to gmail.

So! * Starting May 30, 2022, Google will no longer support the use of third-party apps or devices * which ask you to sign in to your Google Account using only your username and password. * Instead of authenticating with your GMail username/password, a GMail user can create an App Password * and then...
by PedroAlex
Wed Apr 06, 2022 10:49 am
Forum: Xbase++ 2.0
Topic: SmtpClient() does not connect to gmail.
Replies: 12
Views: 7140

Re: SmtpClient() does not connect to gmail.

Diego,

5.- Finally activate "Allow access to insecure applications"

If I figure out this switch, send gmail, works fine!

but this feature expires on 31 May 2022.!

Do you know any more solution?
by PedroAlex
Fri Mar 25, 2022 11:27 am
Forum: eXpress++ Support
Topic: Examples in Xbase++ code, or Express++, to help me understand how to send and receive information in JSON and XML format
Replies: 28
Views: 11697

Re: Examples in Xbase++ code, or Express++, to help me understand how to send and receive information in JSON and XML fo

Diego, Here is a small sample of a SOAP request with XML inline. //============================================================================ Function Teste_HTTP() LOCAL soapRequest LOCAL oHC LOCAL cResult // Create the SOAP request message TEXT INTO soapRequest WRAP <?xml version="1.0" encoding="...
by PedroAlex
Thu Mar 24, 2022 3:59 am
Forum: eXpress++ Support
Topic: Examples in Xbase++ code, or Express++, to help me understand how to send and receive information in JSON and XML format
Replies: 28
Views: 11697

Re: Examples in Xbase++ code, or Express++, to help me understand how to send and receive information in JSON and XML fo

Hi Diego,
What country are you from?

The first step is being able to use XML!
You can start by analyzing the eXpress examples "\EXP20\Samples\Xml"

What version of Alaska and eXpress do you have?