<% include "/home1/eastesa3/public_html/scripts/v1html.php"; %> <% $subj = 'List Your Boat Submittal'; // subject line $subjflds = array('year','make','size'); // subject fields $reqd = array('name','phone','email','make','size','year'); // required fields $text = array('equipment','comments'); // textarea fields $bad = array('http','www.','.com','.org','.net','.biz'); $to = 'eys@easternyacht.com'; $spam = 'jim.waskowich@yahoo.com'; $from = 'info@easternyachtsales.com'; $rply = 'info@easternyachtsales.com'; $bcc = 'jim@easternyachtsales.com'; if (isset($_POST['source'])) { if ($_POST['source'] == 'shortform') { $subj = 'List Your Boat Shortform Submittal'; $subjflds = array(); $reqd = array('email'); $text = array('comments'); unset($_POST['quiz']); } } // Process required fields if(isset($_POST['submit'])) { foreach ($reqd as $value) { if (empty($_POST[$value])) { $fieldstatus[$value] = ' err'; $file_error[0][] = ucfirst($value . ' not specified'); } } // Look for unexpected entries if (!empty($_POST['name'])) { if (preg_match('/^[a-z]+ [a-z]+$/i', $_POST['name'])) { $fieldstatus['name'] = ' ok'; } else { $fieldstatus['name'] = ' err'; $file_error[0][] = 'Full name expected'; } } if (!empty($_POST['phone'])) { $num = preg_replace('/\D/','',$_POST['phone']); if (preg_match('/^1?[2-9]\d{9}$/', $num)) { $_POST['phone'] = preg_replace('/1?(...)(...)(....)/','(\1) \2-\3',$num); $fieldstatus['phone'] = ' ok'; } else { $fieldstatus['phone'] = ' warn'; $file_error[1][] = 'Unexpected phone format'; } } if (!empty($_POST['email'])) { if (preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i', $_POST['email'])) { $fieldstatus['email'] = ' ok'; } else { $fieldstatus['email'] = ' warn'; $file_error[1][] = 'Unexpected email format'; } } if (!empty($_POST['size'])) { if (preg_match('/^\d\d\D*$/', $_POST['size'])) { $fieldstatus['size'] = ' ok'; } else { $fieldstatus['size'] = ' warn'; $file_error[1][] = 'Size not xx'; } } if (!empty($_POST['year'])) { if (preg_match('/\d{2}$/', $_POST['year'])) { $fieldstatus['year'] = ' ok'; } else { $fieldstatus['year'] = ' warn'; $file_error[1][] = 'Year not 19xx or 20xx'; } } // Remove and flag html entries foreach ($text as $value) { if (!empty($_POST[$value])) { $txt = strip_tags($_POST[$value]); $txt = str_ireplace($bad,'',$txt); if (strlen($txt) == strlen($_POST[$value])) { $fieldstatus[$value] = ' ok'; } else { $fieldstatus[$value] = ' warn'; $file_error[0][] = ucfirst($value . ' had html text'); $_POST[$value] = ''; } } } // List field errors $the_errors = "Alerts:
\r\n"; if (isset($file_error)) { foreach($file_error as $v1) { foreach($v1 as $v2) { $the_errors .= "$v2
\r\n"; } } } // Homepage spammers if (isset($file_error[0]) && isset($_POST['source'])) { header("Location: http://www.easternyachtsales.com/"); header("URI: http://www.easternyachtsales.com/"); exit; } //Set up mail if (!isset($file_error[0])) { $tmp = ''; foreach ($subjflds as $value) { $tmp .= ' ' . $_POST[$value]; } $body = ''; foreach ($_POST as $key => $value) { $body .= ucfirst($key) . ': ' . $value . "\r\n"; } $body = wordwrap($body, 70, "\r\n"); if (isset($file_error[1])) { $to = $spam; $tmp = ' (errors noted)'; $body .= strip_tags($the_errors); } $subj .= $tmp; $hdrs = 'From: ' . $from . "\r\n"; $hdrs .= 'Bcc: ' . $bcc . "\r\n"; $hdrs .= 'Reply-to: ' . $rply; $sent = mail($to, $subj, $body, $hdrs); } } %> List Your Boat at Eastern Yacht Sales <%=$html['keywords'];%> <%=$html['description'];%> <%=$html['topbar'];%>
<%=$html['menu'];%>

Brokerage services and listings

Connecting buyers and sellers

If you're serious about selling your boat and you demand personal and professional attention, listing with Eastern offers several advantages. For over 30 years, EYS has served New England boaters with our product and sales expertise and a total commitment to customer satisfaction.

What our clients are saying

It's easy to get started by telling us about your boat:

<% if (!isset($sent)) : %>
Your Information:
Full Name:
Address 1:
Address 2:
City, State Zip:
Phone:
Email:
Boat Information:
Make/Model:
Size:
Year:
Engine:
Home Port:
Condition:
Optional Equipment:
Comments:
Required Field
<% endif; %>
<% if (isset($_POST['submit'])) : %> <% if (!isset($file_error[0])) : %> <% if (isset($file_error[1])) : %>

Thanks for contacting Eastern Yacht Sales. Your inquiry was successfully processed.

<% else : %>

Thanks for contacting Eastern Yacht Sales. We will respond to your inquiry as quickly as possible.

<% endif; %>

To return to the page you were previously viewing Click Here.

<% else : %>

Sorry, your inquiry could not be processed because some required information was missing. Please complete the highlighted items.

<% endif; %> <% endif; %>

We are committed to the New England region and the hundreds of prior customers who share our passion for the sport and fun of sailing and powerboating. Our sales staff looks forward to answering any questions you might have. We enjoy chatting about ideas, boat designs, new technology, places to visit, and upcoming events. So, call anytime and let us know how we can add value to your next boat purchase.

What our clients are saying

  • Buying a new boat can be very nerve racking, but buying one from out of state is mind rattling as well! The whole staff, Nathan (Salesman), Office women, Gator (Yard Maintainer), and Doug (Owner), couldn't have made this sale any more pleasurable! Everything they promised to me with the sale was delivered without a hitch! I wish every other dealer out there could take a page out of their book and follow it! I would rate them with more than 5 stars if I was able to! (Ben K, Everglades 230CC)

Why List with EYS

  • As a CPYB Endorsed Brokerage we subscribe to a stringent Code of Ethics and Broker Practices. We use industry standard forms that protect both buyer and seller.
  • Our 30+ years in business gives you access to an established client base matched by few in our industry.
  • We will work for you with over three decades of professional brokerage experience to provide the information and guidance you need to set the proper sales price and market strategy.
  • We provide onboard inspections and recommendations, detailed inventories, accurate equipment lists, photos and drawings that buyers demand.
  • You can benefit from our new boat connection. As prior new boat dealers we have access to hundreds of buyers for specific brands such as Catalina, Jeanneau, Mainship and others.