Send Mail Help !!


Hello,


I have bought 4 FastReport Basic Edition. I use version presently 4.9

When I want to send report mail receive error:
"Timeout expired(60) 553 5.7.1 Invalid EHLO command [HELO poczta.onet.pl],EHLO should contain FQDN, see RFC 2821."

How repair it?

Regards,

Robert

Comments

  • edited 1:20AM
    did u fill smtphost and smtpport on your FrxmailExport object?
  • edited 1:20AM
    ferit kaya wrote: »
    did u fill smtphost and smtpport on your FrxmailExport object?

    smtphost and smtpport is placed
  • edited 1:20AM
    Hi Robert!

    This means, you didn't provide a valid value for the HELO command. Unfortunately I didn't find any property that can be set for this purpose in FR's emailexport component. Also didn't find a property for the mail agent, that is very neccessary for successful email sending.

    I use Indy SMTP for sending emails from the preview window. Of course I redesigned the preview window and placed an additional button on the toolbar, that fires the parent report's additional event, OnSendMail (this is also my extension). In this event handler I can place any custom Delphi code and I use my own sending mechanism.

    Indy SMTP has these properties:

    - HeloName:String; this must be a valid FQDN, ie: www.fast-report.com
    - UseEhlo:Boolean;
    - MailAgent:String; this must be a popular mail client's agent string.

    For MailAgent I use:
    "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16"

    With this method I didn't faced any emailing trouble.

    Regards:Alex :-)
  • edited 1:20AM
    hello.

    how to configure smtp to use me gmail and hotmail account to send email ?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.