You are here

function _mimemail_replace_files in Mime Mail 6

Same name and namespace in other branches
  1. 5 mimemail.inc \_mimemail_replace_files()
  2. 7 mimemail.inc \_mimemail_replace_files()

Callback function for preg_replace_callback().

1 string reference to '_mimemail_replace_files'
mimemail_extract_files in ./mimemail.inc
Helper function to extracts links to local images from HTML documents.

File

./mimemail.inc, line 127
Common mail functions for sending e-mail. Originally written by Gerhard.

Code

function _mimemail_replace_files($matches) {
  return stripslashes($matches[1]) . _mimemail_file($matches[2]) . stripslashes($matches[3]);
}