• Function hb_SendMail()

    From Otto Haldi@21:1/5 to All on Wed Aug 16 02:42:50 2023
    Hello
    I have a now strange problem with this function. I've been using it for years without any problem.
    But now, the email is no longer sent. I tested the SMTP server with https://dnschecker.org/smtp-test-tool.php.
    And here it works.
    I've also added this SMTP to Thunderbird, and that works too.
    Here are the parameters I use for the function :

    lReturn := ;
    hb_SendMail( cServer , ; // mail.domaine name
    nPort , ; // 25
    cFrom , ; // email from
    cTo , ; // email to
    aCC , ; // nil
    aBCC , ; // nil
    cBody , ; // email test
    cSubject , ; // email test
    aFile , ; // nil
    cUser , ; // smtp user name
    cPass , ; // smtp user password
    cPopServer, ; // mail.domaine name
    nPriority , ; // nil
    lRead , ; // nil
    lTrace , ; // nil
    lPopAuth , ; // nil
    lNoAuth , ; // nil
    nTimeOut , ; // nil
    cReplyTo ; // nil
    )

    Do I have to change something? or are they a another function to send email? Regards
    Otto

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Aug 16 12:25:42 2023
    Il 16/08/2023 11:42, Otto Haldi ha scritto:

    Hello
    I have a now strange problem with this function. I've been using it for years without any problem.
    But now, the email is no longer sent. I tested the SMTP server with https://dnschecker.org/smtp-test-tool.php.
    And here it works.
    I've also added this SMTP to Thunderbird, and that works too.
    Here are the parameters I use for the function :

    lReturn := ;
    hb_SendMail( cServer , ; // mail.domaine name
    nPort , ; // 25
    cFrom , ; // email from
    cTo , ; // email to
    aCC , ; // nil
    aBCC , ; // nil
    cBody , ; // email test
    cSubject , ; // email test
    aFile , ; // nil
    cUser , ; // smtp user name
    cPass , ; // smtp user password
    cPopServer, ; // mail.domaine name
    nPriority , ; // nil
    lRead , ; // nil
    lTrace , ; // nil
    lPopAuth , ; // nil
    lNoAuth , ; // nil
    nTimeOut , ; // nil
    cReplyTo ; // nil
    )

    Do I have to change something? or are they a another function to send email?

    Which version of xHarbour are you using? 10269 from xharbour.org? Can
    you send me (to my private mailbox) the real access data to make a test
    here? Better would be if you send me your real sample.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)