Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

smtp port

edited August 2009 in General
Hi!

I'm using RB 11 for mailing the reports. Since now I had no problems, but
recently my in house mail provider changed the SMTP port from 25 to 20025.
Is there a property for setting the port?

kind regards,
m@rko

Comments

  • edited August 2009
    I forgot to mention that it is done by Indy SMTP. So I think I must
    somewhere set the Indy property, but where?

    Kind regards,
    m@rko

  • edited August 2009
    Hi Marko,

    For RB 11.05 we added the IndySMTP public property to the Indy plugins
    giving access to the TIdSMTP object used. You should now be able to change
    the port used in code with something similar to the following.

    var
    lEmail: TppEmail;
    begin

    lEmail := TppEmail(Report.Email);
    TppSMTPIndy(lEmail.SMTP).IndySMTP.Port := ;


    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.