Issue: While using a MAPI email plugin with Windows Vista/7+, the default email client (Outlook, Windows Mail, etc.) will not preview the message. An “Unknown Error” or “User Abort” error is returned in most cases. Solution: 1. In order for MAPI to function correctly, the bitness of the MAPI application (Delphi/RB application) must match Full Article…
Search the Wiki
How To…Show Email Errors
Question “My emails won’t send. Is there a way to see the error returned by my email server/MAPI client?” Solution By default all email errors are caught and suppressed. Use the TppSMTPCustom.OnEmailError event to capture the error text returned by your email server or MAPI compatible email client. This event can be accessed from the Full Article…
How To…Email Multiple Reports at Once
Question “How do I email separate reports such as invoices to different addresses at the same time?” Solution Create a loop to continually update the email settings and search criterial of a report before sending an email for each record. Download: SendMultipleEmails.zip Sample Delphi code: procedure TForm1.Button2Click(Sender: TObject); var liIndex: Integer; begin CreateCustomerList(); for liIndex Full Article…