User might just execute one transaction/program but STAD might display many entries for that single transaction/program  each entryis a dialog step in SAP term. How many dialog-steps are displayed under a transaction/program is related to program/transaction design and how that transaction is executed.
Connections of the types TCP, ISO-on-TCP, UDP, ISO and S7 connection are configured in the SIMATIC Manager in NetPro. These connections are configured in the same way in STEP 7 (TIA Portal). In STEP 7 (TIA Portal) the S7 connections have to be configured in the Devices and Networks editor, in the Network view.
In this case you can try to use port 587 or port 465 to avoid the block. More in detail: port 587 is supported by almost every outgoing SMTP server and it's useful for unencrypted or TLS connections; while port 465 is the right choice if you need to connect via SSL. turboSMTP can work both on port 587 and 465, but also on 2525 and 25025.