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); ?>
Baby Diaper Disposal Bags,Diaper Disposal Bags for Baby With Removable Capsule Box (1 Capsul And 2 Blue 2 Green Garbage Roll), 1 Psc
₹299.00 (as of April 5, 2025 03:33 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.)Little Angel Baby Easy Dry Diaper Pants With 12 Hrs Absorption Large Size, 9-14 Kgs - L (62 Pieces)
₹534.00 (as of April 5, 2025 03:33 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 Newborn Soft Cotton Godadi | Kids gaddi | Crib Sheet | Baby mat | Godari |Bedding Set| Matress | Bed | Baby Bedding Set for New Born (Pack of 3)
₹499.00 (as of April 5, 2025 03:33 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.)Cherilo Mustard Pillow for Baby 0 to 6 Months | Adjustable Filling | Rai Seeds Head Shaping Pillow for New Born for Preventing Flat Head Syndrome, 28 x 21.5 x 2 Cm - Grey
₹369.00 (as of April 5, 2025 03:33 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.)Baby Nail Trimmer & Clippers Electric Safe Nail Filer Grinder Kit for Newborn Infant Toddler Kids or Adults Toes Fingernails Care Trim Polish, with Led Light and 10 Grinding Heads (A18)
Now retrieving the price.
(as of April 5, 2025 03:33 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?