0) { @set_time_limit(300); $sm1 = new SmartMailer(); $sm1->checkVersion("1.04"); $sm1->smtpSetup("", "", "", ""); $sm1->component = "SMTP"; $sm1->tmpFolder = ""; $sm1->embedImages = false; $sm1->progressBar = ""; $sm1->ignore_errors = true; $sm1->setFrom($_POST['name'], $_POST['email']); $sm1->setTo("Kate", "admin@fintanmoloney.ie"); $sm1->setCc("", ""); $sm1->setBcc("", ""); $sm1->setSubject("From Website"); // using static for body $sm1->setBody_Static_html("".$_POST['name']."
\n".$_POST['query'].""); // Attachments none $sm1->sendMail("one"); $GoTo = "thankyou.htm"; if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) { $GoTo .= (strpos($GoTo, '?')) ? "&" : "?"; $GoTo .= $HTTP_SERVER_VARS['QUERY_STRING']; } header(sprintf("Location: %s", $GoTo)); } $SM_mailAction = getMailAction(); ?> Fintan Moloney & Company Ltd.

 

Your Name

Your E-mail

Your Query

Gortlee, Ramelton Rd. Letterkenny, Donegal, Ireland   Ph. +353 (0)74 91 24558    Fx. +353 (0)74 91 24368

 

Riverside Office Park, Neil T Blaney Road, Letterkenny, Co. Donegal, Ireland