#set ($deals = [{"id":15939436,"url":"http://deals.bookingbuddy.com/delivery/staticClick?ruuid=YG6WUMkAEeOLcQAdCf2s5A&cid=1987751&pid=109&user_id=535488985d58c4.20308503&z=9383862&p=3889&m=0&t=0&uu=8790219c-3514-48f0-9e34-aa9dd867d987&cstream=siteid%3A%3A4%7C%7C%7Ctaparam%3A%3A%7C%7C%7Csupai%3A%3A%7C%7C%7Csupmt%3A%3A%7C%7C%7Csupsn%3A%3A%7C%7C%7Csupmbl%3A%3A%7C%7C%7Csuppos%3A%3A%7C%7C%7Csupdev%3A%3A%7C%7C%7Csupap1%3A%3A%7C%7C%7Csupap2%3A%3A%7C%7C%7Cbbdnlander%3A%3A%7C%7C%7Cnlid%3A%3A%7C%7C%7Cnlpid%3A%3A%7C%7C%7Cnlcid%3A%3A%7C%7C%7Cnltv%3A%3A%7C%7C%7Cttl%3A%3A1398653720%7C%7C%7Cmcid%3A%3A17866&nd=18222423&nc=18222423%3A%3A7893757%3A%3A&aid=15939436&agid=4634&c=4650&l=1&e=5&f=147309&av=3&g=77362bc9cc&j=6&sig=f6b9103edddcff9db7a7f340864d6fa0&uc=abcdefghij","title":"Adults-Only Jamaica: 4 All-Inclusive Nts w/ Air!","description":"","price":"$749+","price_numeric":"749","source":"CheapCaribbean.com","tag_name":"package","destination":"Jamaica","type":"vacation","destination_short":"Jamaica","subject_part":" | Jamaica Vacations $749+","destination_id":147309,"stm_destination_id":508},{"id":15939464,"url":"http://deals.bookingbuddy.com/delivery/staticClick?ruuid=YG6WUMkAEeOLcQAdCf2s5A&cid=1987751&pid=109&user_id=535488985d58c4.20308503&z=9383862&p=3889&m=0&t=0&uu=8790219c-3514-48f0-9e34-aa9dd867d987&cstream=siteid%3A%3A4%7C%7C%7Ctaparam%3A%3A%7C%7C%7Csupai%3A%3A%7C%7C%7Csupmt%3A%3A%7C%7C%7Csupsn%3A%3A%7C%7C%7Csupmbl%3A%3A%7C%7C%7Csuppos%3A%3A%7C%7C%7Csupdev%3A%3A%7C%7C%7Csupap1%3A%3A%7C%7C%7Csupap2%3A%3A%7C%7C%7Cbbdnlander%3A%3A%7C%7C%7Cnlid%3A%3A%7C%7C%7Cnlpid%3A%3A%7C%7C%7Cnlcid%3A%3A%7C%7C%7Cnltv%3A%3A%7C%7C%7Cttl%3A%3A1398653720%7C%7C%7Cmcid%3A%3A17866&nd=18222423&nc=18222423%3A%3A7893757%3A%3A&aid=15939464&agid=4772&c=4788&l=2&e=4&f=147237&av=31&g=f7d21eb5fd&j=6&sig=56c1519de22b4073e6acb7dca072c209&uc=abcdefghij","title":"Caribbean on Sale: $100 Onboard Credit + Exclusive Pricing!","description":"Caribbean","price":"$399+","price_numeric":"399","source":"Avoya Travel","tag_name":"cruise","destination":"Caribbean","type":"cruise","destination_short":"Caribbean","subject_part":" | Caribbean Cruises $399+","destination_id":147237,"stm_destination_id":2678628},{"id":15939461,"url":"http://deals.bookingbuddy.com/delivery/staticClick?ruuid=YG6WUMkAEeOLcQAdCf2s5A&cid=1987751&pid=109&user_id=535488985d58c4.20308503&z=9383862&p=3889&m=0&t=0&uu=8790219c-3514-48f0-9e34-aa9dd867d987&cstream=siteid%3A%3A4%7C%7C%7Ctaparam%3A%3A%7C%7C%7Csupai%3A%3A%7C%7C%7Csupmt%3A%3A%7C%7C%7Csupsn%3A%3A%7C%7C%7Csupmbl%3A%3A%7C%7C%7Csuppos%3A%3A%7C%7C%7Csupdev%3A%3A%7C%7C%7Csupap1%3A%3A%7C%7C%7Csupap2%3A%3A%7C%7C%7Cbbdnlander%3A%3A%7C%7C%7Cnlid%3A%3A%7C%7C%7Cnlpid%3A%3A%7C%7C%7Cnlcid%3A%3A%7C%7C%7Cnltv%3A%3A%7C%7C%7Cttl%3A%3A1398653720%7C%7C%7Cmcid%3A%3A17866&nd=18222423&nc=18222423%3A%3A7893757%3A%3A&aid=15939461&agid=4767&c=4783&l=3&e=1&f=187849&av=1956&g=adc81b3e57&j=6&sig=f09a3adbe7bf501b5449a789a98de9a4&uc=abcdefghij","title":"Book Now & Save! Flights to Milan from $589 R/T","description":"Milan, Italy","price":"$589+","price_numeric":"589","source":"ASAPTickets.com","tag_name":"flight","destination":"Milan","type":"air","destination_short":"Milan","subject_part":" | Milan Flights $589+","destination_id":187849,"stm_destination_id":1821},{"id":15939437,"url":"http://deals.bookingbuddy.com/delivery/staticClick?ruuid=YG6WUMkAEeOLcQAdCf2s5A&cid=1987751&pid=109&user_id=535488985d58c4.20308503&z=9383862&p=3889&m=0&t=0&uu=8790219c-3514-48f0-9e34-aa9dd867d987&cstream=siteid%3A%3A4%7C%7C%7Ctaparam%3A%3A%7C%7C%7Csupai%3A%3A%7C%7C%7Csupmt%3A%3A%7C%7C%7Csupsn%3A%3A%7C%7C%7Csupmbl%3A%3A%7C%7C%7Csuppos%3A%3A%7C%7C%7Csupdev%3A%3A%7C%7C%7Csupap1%3A%3A%7C%7C%7Csupap2%3A%3A%7C%7C%7Cbbdnlander%3A%3A%7C%7C%7Cnlid%3A%3A%7C%7C%7Cnlpid%3A%3A%7C%7C%7Cnlcid%3A%3A%7C%7C%7Cnltv%3A%3A%7C%7C%7Cttl%3A%3A1398653720%7C%7C%7Cmcid%3A%3A17866&nd=18222423&nc=18222423%3A%3A7893757%3A%3A&aid=15939437&agid=4760&c=4776&l=4&e=5&f=28932&av=2073&g=50ee9296e4&j=6&sig=5906576d5f45f38a90b09cc9b9e1268f&uc=abcdefghij","title":"Big Island & Kauai 6-Nt Vacation w/ Air & Hotel","description":"Hawaii, United States","price":"$1,205+","price_numeric":"1205","source":"TripMasters.com","tag_name":"package","destination":"Hawaii","type":"vacation","destination_short":"Hawaii","subject_part":" | Hawaii Vacations $1,205+","destination_id":28932,"stm_destination_id":255},{"id":15939465,"url":"http://deals.bookingbuddy.com/delivery/staticClick?ruuid=YG6WUMkAEeOLcQAdCf2s5A&cid=1987751&pid=109&user_id=535488985d58c4.20308503&z=9383862&p=3889&m=0&t=0&uu=8790219c-3514-48f0-9e34-aa9dd867d987&cstream=siteid%3A%3A4%7C%7C%7Ctaparam%3A%3A%7C%7C%7Csupai%3A%3A%7C%7C%7Csupmt%3A%3A%7C%7C%7Csupsn%3A%3A%7C%7C%7Csupmbl%3A%3A%7C%7C%7Csuppos%3A%3A%7C%7C%7Csupdev%3A%3A%7C%7C%7Csupap1%3A%3A%7C%7C%7Csupap2%3A%3A%7C%7C%7Cbbdnlander%3A%3A%7C%7C%7Cnlid%3A%3A%7C%7C%7Cnlpid%3A%3A%7C%7C%7Cnlcid%3A%3A%7C%7C%7Cnltv%3A%3A%7C%7C%7Cttl%3A%3A1398653720%7C%7C%7Cmcid%3A%3A17866&nd=18222423&nc=18222423%3A%3A7893757%3A%3A&aid=15939465&agid=4762&c=4778&l=5&e=4&f=147414&av=1343&g=b29a6ec8bb&j=6&sig=830c4cf2a67359646b3fcfa46691bd16&uc=abcdefghij","title":"Bahamas 4 Nights on Norwegian Sky from $249","description":"","price":"$249+","price_numeric":"249","source":"VacationsToGo.com","tag_name":"cruise","destination":"Bahamas","type":"cruise","destination_short":"Bahamas","subject_part":" | Bahamas Cruises $249+","destination_id":147414,"stm_destination_id":451}]) #set ($bbdeals = [{"id":15939626,"url":"http://deals.bookingbuddy.com/delivery/staticClick?ruuid=YG6WUMkAEeOLcQAdCf2s5A&cid=1987751&pid=109&user_id=535488985d58c4.20308503&z=9383862&p=3889&m=0&t=0&uu=8790219c-3514-48f0-9e34-aa9dd867d987&cstream=siteid%3A%3A4%7C%7C%7Ctaparam%3A%3A%7C%7C%7Csupai%3A%3A%7C%7C%7Csupmt%3A%3A%7C%7C%7Csupsn%3A%3A%7C%7C%7Csupmbl%3A%3A%7C%7C%7Csuppos%3A%3A%7C%7C%7Csupdev%3A%3A%7C%7C%7Csupap1%3A%3A%7C%7C%7Csupap2%3A%3A%7C%7C%7Cbbdnlander%3A%3A%7C%7C%7Cnlid%3A%3A%7C%7C%7Cnlpid%3A%3A%7C%7C%7Cnlcid%3A%3A%7C%7C%7Cnltv%3A%3A%7C%7C%7Cttl%3A%3A1398653720%7C%7C%7Cmcid%3A%3A17866&nd=18222423&nc=18222423%3A%3A7893757%3A%3A&aid=15939626&agid=4141&c=4157&l=6&e=1&f=191&av=1&g=6d9f34c761&j=6&sig=a1f68f7c865485cd9025786aa6071454&uc=abcdefghij","title":"U.S. Flights on Sale from $69 Each Way!","description":"","price":"$69+","price_numeric":"69","source":"BookingBuddy","tag_name":"flight","destination":"United States","type":"air","destination_short":"U.S.","subject_part":" | U.S. Flights $69+","destination_id":191,"stm_destination_id":250}]) #set($topdeal_subj = "U.S. Flights $69+ E/W") ## display deal macro #macro(display_deal $deal $background $row_color) ${deal.tag_name} deal ${deal.price} ${deal.title}
${deal.destination}
#if( $deal.source ) Source: ${deal.source} #end
##macro to reuse excluded deals because of adjacent advertiser #macro(check_adjacent) #set($used = []) #foreach($t in $adjacent) #set($index = $velocityCount - 1) #set($s_index = $sorted.size() - 1) #set($s = $sorted.get($s_index)) #if($t.source != $s.source) #set($_void = $sorted.add($t)) #set($_void = $used.add($t)) #end #end #if($used.size() > 0) #foreach($i in $used) #set($_void = $adjacent.remove($i)) #end #check_adjacent() #end #end #end ## sort deals macro ## only sort if ## we have user data and location hierarchy #macro (sort_deals) #set ($exact_matches = []) #set ($close_matches = []) #set ($broad_matches = []) #set ($remainder = []) #if ($deals && $deals.size() > 1 && $tripList && $locationHierarchy) #foreach($deal in $deals) #set($match_type=0) #foreach($trip in $tripList) #set($locationId = $trip.getDestinationId()) #if($trip.getSearchMode() == $deal.type) #if ($locationId == $deal.stm_location_id) #set($_void = $exact_matches.add($deal)) #break #elseif($locationHierarchy && $locationHierarchy.get($locationId).contains($deal.stm_destination_id)) #set($match_type = 2) #end #elseif($locationId == $deal.stm_location_id) #set($match_type = 2) #elseif($match_type < 2 && $locationHierarchy && $locationHierarchy.get($locationId).contains($deal.stm_destination_id)) #set($match_type = 1) #end #end #if ($match_type == 0 && $destinationIdList) #if($destinationIdList.contains($deal.stm_destination_id)) #set($match_type = 1) #else #foreach($destination in $destinationIdList) #if ($locationHierarchy.get($destination).contains($deal.stm_destination_id)) #set($match_type = 1) #break; #end #end #end #end #if ($match_type == 2) #set($_void = $close_matches.add($deal)) #elseif ($match_type == 1) #set($_void = $broad_matches.add($deal)) #else #set($_void = $remainder.add($deal)) #end #end #end #set($alldeals = []) #set($_void = $alldeals.addAll($exact_matches)) #set($_void = $alldeals.addAll($close_matches)) #set($_void = $alldeals.addAll($broad_matches)) #set($_void = $alldeals.addAll($remainder)) #if($alldeals.size() == $deals.size()) #set($deals = $alldeals) #end #end #set($count = 0) #sort_deals() #set($sorted = []) #set($adjacent = []) #foreach($d in $deals) #if($velocityCount == 1) #set($_void = $sorted.add($d)) #set($s = $sorted.get(0)) #else #check_adjacent() #set($s_index = $sorted.size() - 1) #set($s = $sorted.get($s_index)) #if($s.source != $d.source) #set($_void = $sorted.add($d)) #else #set($_void = $adjacent.add($d)) #end #end #check_adjacent() #end #set($_void = $sorted.addAll($adjacent)) #set($_void = $sorted.addAll($bbdeals)) #if($sorted.size() > 1 ) #set($firstdeal = $sorted.get(0)) #set($seconddeal = $sorted.get(1)) #set($subject = "$topdeal_subj${firstdeal.subject_part}${seconddeal.subject_part} | More") #elseif ($sorted.size() == 1) #set($firstdeal = $sorted.get(0)) #set($subject = "$topdeal_subj${firstdeal.subject_part} | More") #else #set($subject = "$topdeal_subj | More") #end MAIL FROM: RCPT TO:<${email}> DATA From: "BookingBuddy Top Travel Deals" To: "${greeting}" <${email}> Subject: ${subject} Reply-To: "Booking Buddy Customer Service" Errors-To: b-${userid}-${mailingid}-${nlid}-${timestamp}@lists.bookingbuddy.com Message-ID: List-ID: X-RPCampaign: STMBBTTD1822242320140420225521 Precedence: bulk MIME-Version: 1.0 Content-Type: text/html; charset=utf-8
Huge discounts on hotels, vacation packages, car rentals, and more!

BookingBuddy
weekly top travel deals
Flights spacer Hotels spacer Vacation spacer Carsspacer Deals spacer
Top Flight Deal of the Week!
$69+ E/W
Spring & Summer Fares on Sale Now!
Source: BookingBuddy
Plan your next getaway with flight deals starting at $69 each way!
get deal
#foreach ($deal in $sorted) #if ($count % 2 == 0) #display_deal($deal, "#ffffff", "white" ) #else #display_deal($deal, "#eaf4fe", "blue") #end #set ($count = $count + 1) #end
Today's Top Travel Deals!
Compare prices Search for more deals Update Your Preferences

You received this email because you subscribed as: Reader @ SmarterTravel.com .This is a commercial newsletter that contains advertisements from travel suppliers and agencies. If you no longer wish to receive this newsletter, please unsubscribe here.

BookingBuddy.com is a travel search service and information provider. We do not sell travel products or services. We help you search for travel products/services from third-party. However, the 3rd party suppliers that supply travel products and services may change the offers for variety of reasons, and we cannot therefore guarantee any information in their offers, which change from time to time. We are not responsible for 3rd party products, services or site content.

Copyright © 2005-2014 Smarter Travel Media LLC. All Rights Reserved. BookingBuddy is a trademark of BookingBuddy.com, Inc., a wholly-owned subsidiary of Smarter Travel Media LLC.

Smarter Travel Media LLC | 226 Causeway Street | 3rd Floor | Boston, MA 02114 | 617.886.5555