";
$body.="Your DomainName: ".$_POST['DomainName']."
";
$body.="Mobile: ".$_POST['mobile']."
";
$body.="Telephone: ".$_POST['phone']."
";
$body.="Email:".$_POST['email']."
";
$body.="Subject:".$_POST['subject']."
";
$body.="Description:".$_POST['Description']."
";
$to='info@webartcentre.net';
$subj='Callback details';//
try{
//sending msg through swift
$swift = new Swift(new Swift_Connection_SMTP('localhost'), 'webartcentre.com');
$message = new Swift_Message($subj,$body,'text/html');
$message->setCharset("windows-874");
$recipients = new Swift_RecipientList();
$recipients->addTo($to);
$sent=$swift->send($message, $recipients, "info@webartcentre.net");
}
catch(Exception $e)
{
echo "
| Failed to send information |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||