html5 - HTML don't change text to email -
it's bit complicated explain problem try can.
so i'm writting programm in perl generates email send this:
system("mutt -e 'set content_type=text/html' -s \"".$subject."\" ".$addresses." < ".$mailname);
in mail receive text looks "abc2@example.yn.swx" outlook changes mail adress. possible write in code shouldn^t change ? know can change options in outlook mail goes out many people , dont want change options.
thank guys
outlook magic, , it'll automatically things turn 'email addresses' , 'web addresses' clickable links.
doesn't matter if send plain text or not - it's happening client side have no control on it.
however, if quote 'email address-like' content, so:
echo "'myemail@mydomain.com'" | mail ...
then outlook show (quoted) email address without automatically linkifying it.
more though - can suggest rather inlining 'system' send mail, can lot nice via exec pipe:
open ( $mailer, "|-", "/usr/lib/sendmail $mail_rcpt" ) or die $!; print {$mailer} "from: my_automated_system\n"; print {$mailer} "to: sobrique\n"; print {$mailer} "subject: subject here \n"; print {$mailer} "\n\n"; #end of headers print {$mailer} $email_content; close ( $mailer );
Comments
Post a Comment