Now a days email communication is very important for every person. So in this section we are going to see how to send simple email using php code.
<?php $to = "john@xxx.com"; //to whom you need to send email $subject = "Your Subject Here"; $message = "Your Main Content Here!"; $headers = "From: your website name\r\n"; mail($to,$subject,$
message
,$headers); ?>
OOZU Baby Infant Toddler Helmet No Bump Safety Head Cushion Bumper Bonnet Adjustable Protective Star Printed Cap Child Safety Headguard for Running Walking Crawling Safety Helmet for Kids (Navy Blue)
₹169.00 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)SuperBottoms BASIC Double Layered 100% Pure Cotton Langot for New Born 0-3 Months – Baby Gift Set for New Born – Pack of 10 – Fits Up To 5 kg
₹350.00 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Pampers Active Baby Tape Style Baby Diapers, Newborn/Extra Small (NB/XS) Size, 72 Count, Adjustable Fit with 5 star skin protection, Up to 5kg Diapers
₹958.00 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Novo Baby 12-Piece Baby Safety Electric Socket Plug Guards | Baby Proofing Switch Board Cover for Kids Safety with Easy Removal Pin (Pack of 12, White)
₹149.00 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Novo Baby Silicone Spoon for Baby | Set of 2 Feeding Spoons with Ultra-Soft 100% Food-Grade Silicone Tips, BPA-Free Utensils for Baby Weaning, Ideal for Infants 4M+ (Pink & Blue)
₹199.00 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)One94Store Rechargeable Silicone Panda Night Light for Kids | 7-Color LED Changing Lamp |Adorable Room Decor & Gift for Toddlers, Teens, & Valentine's Day Present|Soft BPA-Free Nightlight| Multicolour
₹370.00 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Himalaya Extra Moisturizing Baby Wash 400ml | No tears formula |with Olive Oil, Aloe Vera & Milk | Cleanses and moisturizes baby’s skin
₹240.75 (as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Moppets Ergonomic Baby Sling Carrier Wrap Cotton, Breastfeeding and Stroller Cover Adjustable for Newborn Baby up to 15kg - Special Carrier/Sling for PREMIE Babies (Blue Cotton)
Now retrieving the price.
(as of July 10, 2025 21:28 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)
Hey Vetrivel, Thanks for share this code, Can you share the code for how to send email with attachment?