Java Question First mistake when recompiling an old project

Sergio Castellari

Active Member
Licensed User
Longtime User
Hello,

When trying to recompile a previous project with the newly installed version, I get the following error:

B4A Version: 13.40
Parse code. Error
Error parsing the program.
Error description: Unknown type: smtp
Are you missing a library reference?
An error occurred on line: 295 (Functions)
Dim SMTP As SMTP

What could be the problem?

Regards,
Sergio
 

teddybear

Well-Known Member
Licensed User
It's obvious that you are missing the library net reference.
Check the paths configuration, is the additional libraries correct?
2026-02-28_220609_371.png
 
Last edited:

Sergio Castellari

Active Member
Licensed User
Longtime User
It's obvious that you are missing the library net reference.
Check the paths configuration, is the additional libraries correct?
View attachment 170318
Hi @teddybear

I have the route, but I think something is outdated from the last time I compiled. I'm using several additional libraries. Do they update automatically? Or do I need to perform some process for that? Also, I think there were more parameters configured somewhere, but I don't remember...

Thank you very much in advance for your guidance.

As a first step, I need to be able to recompile my last working app exactly as it was (obviously adjusting what's necessary).

1772304059930.png
 

Sergio Castellari

Active Member
Licensed User
Longtime User
It's obvious that you are missing the library net reference.
Check the paths configuration, is the additional libraries correct?
View attachment 170318
This is where I'm getting the error; obviously, I'm missing something or something has changed with the "LIB Net" library.

It's for sending emails from the app. Obviously, the email and password aren't real.

Thanks

Note: I've highlighted the line where the error is. It clearly doesn't recognize "SMTP".

1772305258923.png
 

josejad

Expert
Licensed User
Longtime User
Do you have the net library checked in the libraries tab?
 
Top