You are here

function _mimemail_expand_links in Mime Mail 7

Same name and namespace in other branches
  1. 5 mimemail.inc \_mimemail_expand_links()
  2. 6 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 354
Common mail functions for sending e-mail. Originally written by Gerhard.

Code

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