Search found 330 matches

by QuimV
Mon Sep 26, 2022 12:59 pm
Forum: Coding Questions
Topic: Sendmail works incorrectly on PureBasic 6.00 LTS (W10-64)
Replies: 6
Views: 2093

Re: Sendmail works incorrectly on PureBasic 6.00 LTS (W10-64)

Hello,

After a few minutes of forwarding a message, I receive in my mail client a message like "Undelivered Mail Returned to Sender".

The body of the message received is as follows:

----

<joaquim.vizcaino@gmail.com>: host gmail-smtp-in.l.google.com[74.125.140.26]
said: 550-5.7.1 [178.33.44.139 ...
by QuimV
Thu Sep 22, 2022 11:14 am
Forum: Coding Questions
Topic: Sendmail works incorrectly on PureBasic 6.00 LTS (W10-64)
Replies: 6
Views: 2093

Sendmail works incorrectly on PureBasic 6.00 LTS (W10-64)

Hello,

Sendmail appears to work correctly when running the following code:

; From PureBasic Mail example

If CreateMail(0, "user1@triservice.es", "Hello !")

SetMailBody(0, "Hello !" + #CRLF$ +
"This is a multi-" + #CRLF$ +
"line mail !")

; Change the recipients to real one ...
by QuimV
Tue Aug 04, 2020 11:04 am
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 37211

Re: PB.Ex Mail (Windows)

When I ejecute the function OpenMailEx(), I get the message:
Error: Received an unexpected EOF or 0 bytes from the transport stream.
Someone knows to that can it be?
Thanks in advance.
by QuimV
Tue Aug 04, 2020 7:44 am
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 37211

Re: PB.Ex Mail (Windows)

:oops:
:D Thanks a lot!
by QuimV
Tue Aug 04, 2020 6:24 am
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 37211

Re: PB.Ex Mail (Windows)

:oops: surely the question is not smart, but I have to ask it anyway.
Where can I download this library?
Thanks
by QuimV
Thu Mar 26, 2020 7:37 am
Forum: Coding Questions
Topic: Meaning of ImportC without a library file name
Replies: 4
Views: 1834

Re: Meaning of ImportC without a library file name

:D OK, Thank you very much to all
by QuimV
Wed Mar 25, 2020 8:26 pm
Forum: Coding Questions
Topic: Meaning of ImportC without a library file name
Replies: 4
Views: 1834

Re: Meaning of ImportC without a library file name

:D I understand now!
Where can I find a list of the functions contained in the "libc" library?
Thanks in advanced
by QuimV
Wed Mar 25, 2020 8:23 pm
Forum: Coding Questions
Topic: Meaning of ImportC without a library file name
Replies: 4
Views: 1834

Meaning of ImportC without a library file name


ImportC ""
gmtime(*timer)
localtime(*timer)
setlocale(category, locale.p-UTF8)
strftime(*s, maxsize, format.p-UTF8, *timeptr)
EndImport


I have seen this piece of code that I do not understand why it works, although it works correctly.
According to the Purebasic help file, a library file ...
by QuimV
Tue Mar 24, 2020 10:15 am
Forum: Coding Questions
Topic: Value of LC_TIME Constant
Replies: 2
Views: 1316

Re: Value of LC_TIME Constant

:D thanks a lot @mk-soft
by QuimV
Tue Mar 24, 2020 9:28 am
Forum: Coding Questions
Topic: Value of LC_TIME Constant
Replies: 2
Views: 1316

Value of LC_TIME Constant

I need to know the value of the constant LC_TIME in order to use it in the setlocale () function
Does anyone know where I can find this information?
Thank you
by QuimV
Mon Mar 23, 2020 1:17 pm
Forum: Coding Questions
Topic: Pass values to and get result from JavaScript
Replies: 19
Views: 7299

Re: Pass values to and get result from JavaScript

Example of converting an integer representing a date, to a date in normal text format using javascript
(in case it is useful to someone)



Enumeration Window
#mainForm
EndEnumeration

Enumeration Gadget
#HideWeb
EndEnumeration

Global STATIC_HTML.s

OpenWindow(#mainForm, 88, 244, 500, 200, "PB ...
by QuimV
Tue Jul 10, 2018 9:24 am
Forum: Linux
Topic: Ubuntu 18.04 - 64bits - Errors in the launch
Replies: 4
Views: 3064

Re: Ubuntu 18.04 - 64bits - Errors in the launch

:D Thank You @Fred
by QuimV
Mon Jul 09, 2018 7:46 pm
Forum: Linux
Topic: Ubuntu 18.04 - 64bits - Errors in the launch
Replies: 4
Views: 3064

Re: Ubuntu 18.04 - 64bits - Errors in the launch

thanks :D ccode!

I have executed:
"sudo apt-get install libcanberra-gtk *"
And now it gives a single error message:
** (purebasic:2625): CRITICAL **: 20:38:27.185: murrine_style_draw_box_gap: assertion 'height >= -1' failed
This error message, what kind of programs can affect?
Regards
by QuimV
Mon Jul 09, 2018 6:47 pm
Forum: Linux
Topic: Ubuntu 18.04 - 64bits - Errors in the launch
Replies: 4
Views: 3064

Ubuntu 18.04 - 64bits - Errors in the launch

I have installed PureBasic in a virtual machine with Ubuntu 18.04 - 64bits.
Installation do not give any kind of error messages.
When I start PureBasic executing launch.sh,I get these error messages.
-------------
Gtk-Message: 19:37:24.990: Failed to load module "canberra-gtk-module"

** (purebasic ...