You are here

function _mimemail_expand_links in Mime Mail 6

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

Callback for preg_replace_callback()

1 string reference to '_mimemail_expand_links'
mimemail_html_body in ./mimemail.inc
Generate a multipart message body with a text alternative for some HTML text.

File

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

Code

function _mimemail_expand_links($matches) {
  return $matches[1] . _mimemail_url($matches[2]);
}