Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 101,618
» Latest member: j88autos
» Forum threads: 2,428
» Forum posts: 11,381

Full Statistics

Online Users
There are currently 1088 online users.
» 2 Member(s) | 1083 Guest(s)
Applebot, Bing, Google, bsunwincom, j88autos

Latest Threads
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 449
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-01-2026, 09:21 PM
» Replies: 4
» Views: 216
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 93
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 518
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 589
How can I get started? Do...
Forum: CrossTalk General Discussion
Last Post: taggame
09-17-2026, 03:17 AM
» Replies: 2
» Views: 4,333
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 402
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 788
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 458
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 1,004

 
  TIdSMTPServer - Questions (differences between v9 and v10)
Posted by: Justin Case - 07-09-2024, 06:04 PM - Forum: Indy - Replies (15)

Hi,

Moons ago I was writing a smtp server in v9. V9 rocked, the event handlers (via the object inspector) made it nice and easy to use but there was some architectural bug in it involving the dots - from memory it needed two dots on some lines for some reason.. Anyway eventually i setup another machine with v10, had a newborn son, forgot all about it...

9 odd years later.. I'm back on this project..

I'm using 10.2.3

So with the online documentation being down on ww2.indyproject.org, I'm kind of flying blind. To get started, I double clicked all the events in object inspector and put in a ShowMessage() so that i knew what order they fire in (yes I had exceptions regarding drawing - but it got me what i needed after multiple program resets).

So I have these in this order (I'm manually typing these in - can't copy from the VM - sorry for any typo's but you'll get the idea):

procedure TDataModule1.IdSMTPServer1.Connect()
procedure TDataModule1.IdSMTPServer1BeforeCommandHandler()
TDataModule1.IdSMTPServer1Reset()
IDSMTPServer1SPFCheck()
IdSMTPServer1AfterCommandHandler()
IdSMTPServer1UserLogin()
IdSMTPServer1MailFrom()
IdSMTPServerRcptTo()
IdSMTPServer1Received()
IdSMTPServer1MsgReceive()
IdSMTPServer1Disconnect()

That all seems relatively straight forward however I'm having problems with SPFCheck(). My client (Outlook express - yes it's old but ok for testing) sends my machine name (Asuras) which obviously isn't a domain and as it's a SMTP client, not another SMTP server, that obviously won't resolve. I suspect a connecting server will send a domain?

So how do I proceed with this? - obviously if another server connects then the SPFCheck is a great idea but if it's a client then I'm in a fix and it will fail (as a bodge I'm using "If Pos('.', ADomain) then.." to test for a domain). Will IdSMTPServer cause a disconnect / client abort if I use spfNone / spfNeutral or will it just continue?

EG I'm with yahoo. If my email client were to connect to them, it would send "HELO/EHLO Asuras". Based on the indy logic, Asuras means nothing to Yahoo and so it would probably perform a spfCheck against my IP. My IP is part of my ISPs network and thus Yahoo has nothing to pass or fail me with until I login - but in the sequence above, that comes two events later.

Also if a SMTP client connects, it has to send a username and password. How do SMTP servers communicate mail to each other without this? - As the sequence above suggests it seems like a inbound connection has got to login first before it can specify the MailFrom details and trigger that event. How can I know in the UserLogin() event that the connecting user will be sending to a local address in order that I can set VAuthenticated := True ? - those details don't come through until RcptTo()!!

AThread has vanished.. now we have AContext. Whats the difference here? Presumably they still run like threads?

Oh one other thing, whats IdSMTPRelay all about?

Thanks for your time,

JC

Print this item

  ww2.indyproject.org is down!
Posted by: Justin Case - 07-09-2024, 10:20 AM - Forum: Indy - Replies (1)

Finally made it over here - embarcadero newsgroups seem to have vanished and it's taken me ages to get back into programming / delphi / indy...

Anyway the ww2 subdomain of indyproject is down - taking the support (.hlp, .chm etc) files with it along with the online documentation. Obviously that's going to put a greater strain on Remy..

It's been down for ages - probably over a year!

JC

Print this item

  Update Progress Indicator text settings
Posted by: Blanca80 - 06-28-2024, 07:05 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello, 

¿ Is there a way to update progress indicator text settings during the asynchronous process to show the progress of itself ?

thank you very much. 

Barcelona, Blanca P.

Print this item

Exclamation Server outage
Posted by: Alexandre Machado - 06-27-2024, 09:11 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

we are experiencing a temporary server outage due to datacenter maintenance. The affected services are:

app.atozed.com (The purchase point)
docs.atozed.com (online docs)

We are working to fix it ASAP

Cheers Exclamation

Print this item

  AV in 64 bit application if using the debugger
Posted by: JuergenS - 06-26-2024, 11:31 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi, i could use some help

C++Builder 12.1
INTRAWEB 15.6.2

I have migrated an INTRAWEB application to 64 bit.

If i start the application with debugger the INTRAWEB debug dialog is shown and i can choose a browser to start.

The website is shown but after some action the following exception message is shown in a message box:

Erste Gelegenheit für Exception bei $0000000001A5C1DC.
Exception-Klasse 0xc0000005 mit Meldung 'Exception 0xc0000005 encountered at address 0x1a5c1dc: Access violation reading location 0xffffffffffffffff'.
Prozess XXX.exe (5740)

Nothing happens anymore in the browser window, the server is locked an needs to be terminated.


Call stack:

:0000000001A5C1DC Inthread::TInThreadWithTask::SetTask(Intask::TInTask*)()
:0000000001A5B134 Inschedulerofthread::TInSchedulerOfThread::StartYarn(Inyarn::TInYarn*, Intask::TInTask*)()
:0000000001A5AFCE Incustomtcpserver::TIdListenerThread::Run()()
:0000000001A5B6AB Inthread::TInThread::Execute()()
:0000000001893203 System::Classes::ThreadProc(System::Classes::TThread*)()
:00000000017EE2BD System::ThreadWrapper(void*)()
:00007FF8B97D7344 BaseThreadInitThunk()
:00007FF8BB35CC91 RtlUserThreadStart()

The debug release is working well if i don't start the application with debugger !!!


Regards
Juergen

Print this item

  IntraWeb 15.6.3 is out!
Posted by: Alexandre Machado - 06-19-2024, 07:28 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

there is a new maintenance update for IntraWeb 15, version 15.6.3:

https://www.atozed.com/2024/06/intraweb-15-6-3/

If you had any issues running IW 15.6.x in Dephi/RAD Studio/C++Builder 11.0, 11.1 and 11.2 (without Update 3), this is a must.

Enjoy!  Big Grin

Print this item

  IWEDIT added to IWREGION creates additional DIV
Posted by: Moskwa - 06-17-2024, 05:03 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello,
I have a problem with IWEDIT added to IWRegion. Intraweb generates that code :

Code:
<div aria-label="Wybierz skonto" class="btn-group" id="IWREGION9_FRAFRAME2" role="group">
  <label class="btn btn-outline-primary" for="BUTTON_0_FRAFRAME2" id="IWLABEL_0_FRAFRAME2"><span style="font-size:18px">zgodnie</span><br><span style="font-size:14px">z umową</span></label>
  <div>
    <input autocomplete="off" class="IWEDIT1_FRAFRAME2CSS" id="IWEDIT1_FRAFRAME2" name="IWEDIT1_FRAFRAME2" spellcheck="false" type="text" value="IWEdit1"> 
  </div>
</div>

where before IWEDIT1  I get additional DIV

In design I have only IWREGION9 and IWEDIT1 in it:

   

any idea why I get additional DIV ?

Marcin

Print this item

  IWFileUploader DragandDrop
Posted by: Airlizard - 06-14-2024, 04:07 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello, I still have a problem with the IWFileUploader: When transfering many files via DragandDrop it is impossible to see, when it is finished - as the progress is below the visible files and there is no notification when it is finished. Could you add some kind of notification and maybe even a Filecount how many files are uploaded/ to be uploaded? Thanks a lot. In the first image the upload is in progress - but you cannot say what is the status in the second image...



Attached Files Thumbnail(s)
       
Print this item

  WebApplication.Form Size Props
Posted by: pvh855 - 06-11-2024, 02:01 PM - Forum: IntraWeb General Discussion - No Replies

Hello.
IW v15.2.69
SessionOptions.UniqueURL = True

On MainForm.OnCreate event, im reading WebApplication.FormWidth and WebApplication.FormHeight props.
if i start my app by /$/start - all is good, props are filled.
if i start my app by root '/' request  - app started, but props are empty (their values is -1)
Any advice how to fix that?
Thanks

Print this item

  Page position
Posted by: rburton - 06-11-2024, 09:20 AM - Forum: IntraWeb General Discussion - No Replies

I have a two form application, form 1 is a list with each item having a link, when I click the link it opens the second form to show a detail view.  This all works fine except if I scroll down the list on form 1 and open the detail view, on hiding the detail form to return to the list it refreshes the page and returns the list back to the top rather than leaving the list in the same position as i originally left it.
 
Does anyone know way around this.  Thank you

Richard

Print this item