Unclassified NewsBoard Code Reference

mime_create_class.add_attach function

Add an attachment to the e-mail
$file is the name of the file to be added, $ctype is its content-type

function mime_create_class.add_attach ($file, $ctype = '');

Parameters:

file
ctype  –  optional, default: ''

Remarks:

UNB export: $ctype must be set... it won't be recognized (set to unknown)

Member of class: mime_create_class

Implementation file: unb_lib/mime-create.lib.php, line 195

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.