Problem sending PDF via MS Outlook

Hi

I'm trying to send a report exported to pdf via MS Outlook.

Unfortunately I get access violation in TfrxMailExport.Start function despite setting ExportFilter.DefaultPath.

When it is set to application folder exception raises here

  if FExportFilter.DefaultPath <> '' then

  begin

   FDefaultIOTransport.BasePath := FExportFilter.DefaultPath; <= here

   FExportFilter.FileName := f;

  end

  else

  begin

   FDefaultIOTransport.CreateTempContainer; <= or here (when DefaultPath is empty)

   FExportFilter.FileName := FDefaultIOTransport.BasePath + PathDelim + f;

  end;


Apparently I'm missing something.

The application is quite old (about six years) and it used to work with Fast Report 6


TIA

Marcin

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.