# -*- mode: snippet -*-
# name: mail
# key: mail
# --
 <?php
// the message
$msg = "First line of text\nSecond line of text";

// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);

// send email
mail("${1:$$(yas-choose-value \"houdinihar@yandex.ru\"
                              \"asfjsdf@mail.ru\")}","${2:My subject}",$msg);
?>