SecureBlackbox 2020 PHP Edition

Questions / Feedback?

AttachFile Method

Creates an attachment from a file.

Object Oriented Interface

public function doAttachFile($filename);

Procedural Interface

secureblackbox_mailwriter_do_attachfile($res, $filename);

Remarks

Use this method to create an attachment from a file. Use Attachments property to provide further attachment details.

The method returns the index of the new attachment in the Attachments list.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 PHP Edition - Version 20.0 [Build 8154]