Mail_Mime::addHTMLImage()
Параметр
string $file - The image file name or the image data itself
string $c_type - The content type of the image or file.
string $name - The filename of the image. Only used, if $file contains the image data.
boolean $isfile - Whether $file is a filename or not.
Throws
Таблица 48-1. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
NULL | "File is not readable file_name" | The file was not found or the script has not enough rights to access the file. | Check the file name and path. Check user and file permissions. |
NULL | "Could not open file_name" | The file is already opened and exclusivly locked by another application. | In the most cases a programm opens the file for writing. addHTMLImage() does no file locking, so this problem is not caused by competitve callings of this function. |
Пред. | Начало | След. |
Mail_Mime::addAttachment() | Уровень выше | Mail_Mime::get() |