SEND E-MAIL TO MULTIPLE PERSON(E-MAIL) WITH PHP #EDUCRATSWEB

  • Home
  • Jobs
  • Q&A
  • Register
  • Login

  • Send E-mail to Multiple Person(E-mail) with Php

     

     

     

    <html>

    <head>

    <title> Send E-mail to Multiple Person(E-mail) with Php

    </title>

    </head>

    <body bgcolor="#666666">

     <!--Email Validation START -->

            <script language="javascript">

                function validate_email(field,alerttxt)

                {

                    with (field)

                    {

                        apos=value.indexOf("@")

                        dotpos=value.lastIndexOf(".")

                        if (apos<1||dotpos-apos<2)

                        {

                            alert(alerttxt);return false

                        }

                        else

                        {

                            return true

                        }

                    }

                }

            </script>

            <!--Email Validation END -->

     

    <script language="javascript">

    function checkdata()

    {

    if(document.emailpost.from.value=="")

    {

    alert("Form field should not be blank! Please Enter your Email id");

    document.emailpost.from.focus();

    return false;

    }

    else if(document.emailpost.to.value=="")

    {

    alert("To field should not be blank! Please Enter Destination Email id ");

    document.emailpost.to.focus();

    return false;

     

    }

    else if(document.emailpost.from.value!="")

    {

    if (validate_email(eval("document.emailpost.from"),"Not a valid e-mail address!")==false)

    {

    document.emailpost.from.focus();

    return false

    }

    }

     

     

    else

    return true;

    }

    </script>

    <form name="emailpost" action="test.php" method="post" onSubmit="return checkdata()">

      <table  cellpadding="5px" cellspacing="0px" style="font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; border:7px solid gray; background:#eeffee" width="500px" align="center">

        <tr>

          <td colspan="2"  bgcolor="gray" style="color:#FFFFFF; font-weight:bold; padding:10px"> Send E-mail to Multiple Person(E-mail) with Php

    </td>

          

        </tr>

        <tr>

          <td>Enter Your Email id</td>

          <td align="right"><input type="text" name="from" size="40" value="<? echo $_POST["from"];?>"/></td>

        </tr>

        <tr>

          <td colspan="2">Enter Your Friend Email id(s) </td>

        </tr>

        <tr>

          <td colspan="2" align="right"><textarea rows="5" cols="50" name="to" value="<? echo $_POST["to"];?>"></textarea>

            <br />

            Enter Emails Speparated by colon(,)</td>

        </tr>

    <tr>

          <td colspan="2">Enter Your Message</td>

        </tr>

        <tr>

          <td colspan="2" align="right"><textarea rows="5" cols="50" name="message" value="<? echo $_POST["subject"];?>"></textarea></td>

        </tr>

        <tr>

     

          <td colspan="2"  align="right"> <input type="submit" name="action" value="Send Email" style="background:#333333; color:#FFFFFF; border:1px solid gray" onClick="return checkdata()" />

            <input type="reset"  value="Clear" style="background:#333333; color:#FFFFFF; border:1px solid gray" /></td>

        </tr>

    <tr>

     

    <tr>

    <td colspan="2">

    <div style=" background:white; padding:5px; color:#666666">

      <?

    if($_POST["action"]=="Send Email")

    {

    $to=$_POST["to"];

    $from_email=$_POST["from"];

    $message=$_POST["message"];

    $to_single = split (",", $to); //splite email into array 

    $to_single_count_index=count($to_single); //count total index of array to_single

    echo "<font color='red'>Email send to:</font><font color='green'> ";

    for($i=0;$i<$to_single_count_index;$i++)

    {

    $to_s=$to_single[$i];

     

     $headers = "From: $from_email Reply-To: $from_email ";

        $headers .= "Content-type: text/html "; 

    $mail_sub="Test Email";

    mail($to_s,$mail_sub,$message,$headers);

    echo $to_s,", ";

     }

     

    }

    ?>

    </font>

    </div>

    </td>

      </table>

    </form>

    </body>

    </html>

     

    This is a Sample code and you can change it as per your requirement. if you like this article please comment.

    educratsweb.com

    Posted by: educratsweb.com

    I am owner of this website. I Love blogging and Enjoy to listening old song. ....
    Enjoy this Author Blog/Website visit http://twitter.com/educratsweb

    if you have any information regarding Job, Study Material or any other information related to career. you can Post your article on our website. Click here to Register & Share your contents.
    For Advertisment or any query email us at educratsweb@gmail.com

    RELATED POST
    1. Reliable Information Regarding Online Id Verification
    In this day and age, many companies plus online businesses are distressed about protection in their businesses mainly because the numbers of frauds are boosting instantly. There are many fraudsters as well as impostors across the world who steal all company info easily by utilizing numerous leading-edge tools. Mostly, fraudsters enter into the company’s system as a client, and for a lot of corporations, it is very challenging to find the right one amongst fake along with genuine buyers. Identity th
    2. Instamojo digitises more than 2 lakh small businesses post the pandemic
    Instamojo digitises more than 2 lakh small businesses post the pandemicInstamojo digitises more than 2 lakh small businesses post the pandemic
    3. ISMO: India Science Month Online | January 2021 | At your home
    India Science Fest is India’s largest public celebration of science and technology.We strongly feel that India needs to step up its S&T and innovation agenda, in order to keep up its economic progress and social development. The gap between science and society needs to be bridged immediately. ISF endeavors to serve as platform for deeper engagement between scientists, researchers, professionals, entrepreneurs and students. We wish to have the public involved in the latest in science and get all
    4. TallyPrime to simplify e-invoicing compliance through connected solution
    TallyPrime to simplify e-invoicing compliance through connected solution TallyPrime to simplify e-invoicing compliance through connected solution   ·         Tally Solutions enables end-to-end connected experience for e-invoicing through it
    5. Unicode <=> Kruti dev Converter
    कितना भी बड़ा Text टेक्स्ट हो एक साथ संबंधित बॉक्स में पेस्ट कर दें। यह कृतिदेव को यूनिकोड व यूनिकोड को कृतिदेव में बदलेगा। जब आप कन्वर्ट का कार्य पूरा कर चुके हों तो बाॉक्य में जाकर कंट्रोल ए या सले
    6. India International Science Festival-2020 will showcase 41 events highlighting multi-dimensional aspects of science, technology and innovation in India
    Several curtain raiser events are being organized for generating awareness about the 6thIndia International Science Festival (IISF-2020) to be held virtually this year. At such an event at CSIR – Indian Institute of Toxicology Research, Lucknow,  Dr Shekhar C Mande, Secretary, Department of Scientific and Industrial Research (DSIR), Director General, Council of Scientific and Industrial Research and Chairman, Steering Committee, IISF – 2020, in his key note address, said that t
    7. Mphasis Announces Quantum Computing Framework and Consulting Services
    Mphasis Announces Quantum Computing Framework and Consulting Services   ~ Mphasis offers Quantum-b
    8. React JS & Java Full Stack Developer among the top 5 digital skills in demand this year: Quess Report
    React JS & Java Full Stack Developer among the top 5 digital skills in demand this year: Quess Report   React JS developer is the most sort after job role in Mar-Oct 2020 with an uptick of 184% in openings; Bengaluru witnessed t
    9. IT minister announces launch of Grand Challenge for strengthening the COVID Vaccine Intelligence Network (CoWIN) system
    Ministry of Health and Family Welfare (MoHFW) along with Ministry of Electronics and Information Technology (MeitY) has announced the launching of “CoWIN”, a Grand Challenge for strengthening the COVID Vaccine Intelligence Network (CoWIN) system, a digitalised platform to be us
    10. Rajya Sabha passes Indian Institutes of Information Technology Laws (Amendment) Bill, 2020 today
    Rajya Sabha passed Indian Institutes of Information Technology Laws (Amendment) Bill, 2020 in New Delhi today. The Indian Institutes of Information Technology Act of 2014 and Indian Institutes of Information Technology (Public-Private Partnership) Act, 2017 are the unique initiatives of the Government of India to impart knowledge in the field of Information Technology to provide solutions to the challenges faced by the country.The Indian Institutes of Information Technology Laws (Amendment) Bill, 2020 wa
    11. Prime Minister Narendra Modi to inaugurate the summit Responsible AI for Social Empowerment 2020 on October 5
    Ministry of Electronics and Information Technology (MeitY) and NITI Aayog are organizing a Global Virtual Summit on Artificial Intelligence (AI), RAISE 2020- ‘Responsible AI for Social Empowerment 2020,’ from October 5-9, 2020. The Summit will be inaugurated by Prime Minister Shri Narendra Modi in the august presence ofMinister of Electronics & IT, Communications and Law &Justice, Shri Ravi Shankar Prasad, eminent global AI expert Professor R
    12. Private Sector Participation in Space Sector
    Government has created Indian National Space, Promotion &Authorization Centre (INSPACe), under Department of Space to encourage, promote and hand hold the private sector for their participation in Space Sector. Private players will also be able to use ISRO infrastructure through INSPACe.The decision of Government was conveyed to the Members of the scientific community elaborately, and scientific community welcomed the Government decision. The role of New Space India Limited (NSIL) in the po
    13. Get Ready to Learn RPA Blue Prism
    We are living in the midst of a digital era. Technology can enable us to  automate  business processes using Artificial Intelligence (AI) and software rather than people, wherever possible. A technology for this purpose is Robotic Process Automation (RPA). RPA can have a transformative impact on organizations by lowering costs, increasing reliability, and executing quickly. It can also let IT
    14. ERP Software is key for companies´ digital transformation
    The traditional focus of ERP software is to help automate business processes, especially those that are considered critical to ensure the basic operation of the company. On the other hand, digital transformation has a broader and more disruptive focus, in which companies seek new ways of doing things to satisfy and delight their customers. ERP software is the first stage of transformation, but it requires additional work. The mastery of ERP software in
    15. Government is implementing several schemes to encourage students/youth of the country towards the field of science and technology: Dr. Harsh Vardhan
    It has been a part of Government’s Science and Technology (S&T) policy toencourage the students/youth of the country towards the field of science and technology. The first three key elements of Science, Technology, and Innovation (STI) Policy of 2013 Are: Promoting the spread of scientific temper amongst all sections of society. Enhancing skill for applications of science among the young from all social strata. Making careers in scienc
    16. CSIR-CMERI comes up with High Flow Rate Water Purification Technology for Fluoride and Iron Removal
    NEED OF THE TECHNOLOGY: The contamination of fluoride and iron in drinking water is increasing day by day. Iron is the most abundant trace element in human body, responsible for accomplishment of vital biological functions such as gastrointestinal processes and the regulation of body temperature. But when iron level in water is beyond 0.3 ppm (as per WHO guideline), it shows several adverse effects including liver disease, irregular heart rhythm and neuronal disorder etc.
    17. The top Python developers in the United States
    Python is a Swiss Army Knife for programmers. It is a veteran programming language present in many applications and operating systems. We can find it running on servers, in iOS, Android, Linux, Windows or Mac applications. This is because it has a moderate learning curve and because its philosophy emphasizes offering a readable code syntax. It is a versatile multiplatform and multiparadigm programming language that stands out for its readable and clean code. On
    18. Indian Astronomers discover one of the farthest Star galaxies in the universe.
    As a landmark achievement in Space missions, Indian Astronomers have discovered one of the farthest Star galaxies in the universe.
    19. Successful Flight Test of SMART
    Supersonic Missile Assisted Release of Torpedo (SMART) has been successfully flight tested today 5th Oct 2020 at 1145 hrs from Wheeler Island off the coast of Odisha. All the mission objectives including missile flight upto the range and altitude, separation of the nose cone, release of Torpedo and deployment of Velocity Reduction Mechanism (VRM) have been met perfectly. The tracking stations (Radars, Electro Optical Systems) along the coast and the telemetry stations including down range ships
    20. Department of Science & Technology is having three binational Centres
    Presently the Department of Science & Technology, Govt. of India is having three binationalCentres namely Indo-French Centre for Promotional of Advanced Research (IFCPAR)established with France in 1987, Indo-US Science & Technology Forum (IUSSTF) established in2000 with USA and Indo-German Science & Technology Centre (IGSTC) established in 2010under inter-governmental agreements. During last three years, the following new programmes have been launched by these binationalCentres:
    21. Tata Motors Limited to supply 150 Nexon XZ+ electric compact SUVs & Hyundai Motor India Ltd. to supply 100 units of its Kona electric Premium SUVs
    Energy Efficiency Services Limited (EESL), a Super Energy Service Company (ESCO) under the administrative control of Ministry of Power, Government of India, will procure 250 electric vehicles from Tata Motors and Hyundai Motor India. The companies were selected through an international competitive bidding process, which was aimed at increased participation. Tata Motors Limited and Hyundai Motor I
    22. Workshop to mark 20 years of Himalayan Chandra Telescope to highlight the science it produced
    In the cold, dry desert of Ladakh, 4500 meters above the mean sea level, for two decades, the 2-m diameter optical-infrared Himalayan Chandra Telescope (HCT) at the Indian Astronomical Observatory (IAO) has been scanning the night sky in search of stellar explosions, comets, asteroids, and exo-planets. The telescope remotely operated using a dedicated satellite communication link from the Centre for Research & Education in Science & Technology (CREST), Indian I
    23. National Super Computing Mission (NSM) is boosting high power computing in the country
    India is fast expanding its supercomputer facilities and developing the capacity to manufacture its own supercomputers in the country. The National Super Computing Mission (NSM) is rapidly boosting high power computing in the country through its various phases to meet the increasing computational demands of academia, researchers, MSMEs, and startups in areas like oil exploration, flood prediction as also genomics, and drug discovery. With the infrastructure planned in NSM Phase-I alre
    24. IPFT developes Bio-Pesticide Formulation for insect control in seed spice crops as safe alternative to chemical pesticides
     The institute of Pesticide Formulation Technology  (IPFT ) under the Department of Chemicals and Petrochemicals ,Ministry of Chemicals and Fertilizers in collaboration with ICAR- National Research Center on Seed Spices (NRCSS), Ajmer, Rajasthan has successfully developed new Aqueous Suspension formulation technology of bio-pesticide based on  entomo-pathogenic fungus Verticillium lecanii.  
    25. 11 Digital Education Tools For Teachers And Students
    The Most Popular Digital Education Tools For Teachers And Learners Hundreds of digital education tools have been created with the purpose of giving autonomy to the student, improving the administration of academic processes, encouraging collaboration, and facilitating communication
    26 CIMAP Scientist Technical Officer Vacancy Recruitment 2020 #Jobs 18 Days Remaining for Apply
    CIMAP Scientist Technical Officer Vacancy Recruitment 2020 CSIR-Central Institute of Medicinal and Aromatic Plants (CSIR-CIMAP), invites online applications in the prescribed format from Indian citizens for the recruitment of Government Job vacancy posts of Scientists and Technical Officer from enthusiastic young and dynamic Indian Nationals involved in Product Development/Technology Innovation/Applied Technology/Translation Research having excellent academic record/proven ...
    27 Bank of Baroda Security and Fire Specialist Officer Recruitment 2020-21 #Bank 0 Days Remaining for Apply
    Bank of Baroda (BoB), India's International Bank, is looking for qualified and experienced Specialists Officers as Security Officers and Fire Officers for the Bank of Baroda (BoB) and hence invites online application in the prescribed format for the year 2020. ...
    28 Manager Job Vacancy Recruitment in NPS Trust 2021 #Jobs 11 Days Remaining for Apply
    National Pension System Trust (NPS Trust) invites online applications in the prescribed format from eligible Indian citizens for recruitment to fill up the following Sarkari Naukri vacancy posts of Officer Grade B (Manager) and Officer Grade A (Assistant Manager) across different streams on direct recruitment basis. (Advertisement No. 2/2020-21) NPS Trust Manager Jobs Recruitment 2021 Vacancies ...
    29 Technical & Support Staff Vacancy Recruitment in CDRI Lucknow #Uttar Pradesh 18 Days Remaining for Apply
    Online applications in the prescribed format are invited from technically qualified persons for the Sarkari Naukri Vacancy of Technical & Support Staff as Technical Officer, Technical Assistant, and Technician at various levels in CSIR - Central Drug Research Institute (CDRI), Lucknow in the areas of Life Sciences, Chemical Sciences, Pre-clinical Sciences and Scientific & Technical support divisions of CSIR-CDRI. (Advt. No. 11/2020) SarkariNaukriBlog dot com. CDRI Technical and Support Sta ...
    30 IBPS IT Jobs Vacancy Recruitment 2021 #Bank 21 Days Remaining for Apply
     Institute of Banking Personnel Selection (IBPS), an autonomous body, has been authorised by the IBA, invites online applications in the prescribed format from eligible candidates for selection of personnel to the following Information Technology (IT) Sarkari Naukri Vacancy posts in IBPS. IBPS IT Jobs Recruitment 2021 Vacancies     Analyst Programmer - Windows: 01 vacancies     Analyst Programmer - Frontend: 02 vacancies   ...
    31 MMMOCL Permanent Job Vacancy Recruitment 2021 #Jobs 21 Days Remaining for Apply
    Maha Mumbai Metro (M3) Operation Corporation Ltd. (MMMOCL) intends to appoint qualified and experienced Engineering professionals for the following 127 Government Job Vacancy posts of Permanent Job Vacancy posts on prescribed format in Maha Mumbai Metro Operation Corporation Limited. MMMOCL Permanent Job Recruitment 2021 Vacancies     Assistant Manager (P/Way): 01 vacancies     Station Manager: 03 vacancies     Chief ...
    32 Recruitment of Faculty & non-Teaching Vacancy in IIT Tirupati 2021 #Jobs 11 Days Remaining for Apply
    Indian Institute of Technology (IIT) Tirupati (Andhra Pradesh) invites online applications in the prescribed format from candidates with an established record of independent high-quality research and commitment to teaching for regular Faculty Sarkari Naukri Vacancy positions of Professor, Associate Professors, and Assistant Professor and regular non-teaching staff vacancies. (Advertisement No. IITT/FAC – RMT-01/2020 & IITTP/Staff RMT-01/2020) Government Jobs Vacancy Recruitment IIT Tirup ...
    We would love to hear your thoughts, concerns or problems with anything so we can improve our website educratsweb.com ! visit https://forms.gle/jDz4fFqXuvSfQmUC9 and submit your valuable feedback.
    Save this page as PDF | Recommend to your Friends
    Add FREE Listing to Bharatpages Business Directory
    Read this site in Bengali English Gujarati Hindi Kannada Punjabi Tamil Telugu Urdu or Any other Language Google's cache Page
    January 18 - Historical Events - On This Day
    Subh Somwar (Monday)  IMAGES, GIF, ANIMATED GIF, WALLPAPER, STICKER FOR WHATSAPP & FACEBOOK
    Subh Somwar (Monday)

    Great Republic Day Sale | 20th - 23rd Jan  IMAGES, GIF, ANIMATED GIF, WALLPAPER, STICKER FOR WHATSAPP & FACEBOOK Great Republic Day Sale | 20th - 23rd Jan

    Recent Posts

    Great Republic Day Sale | 20th - 23rd Jan  IMAGES, GIF, ANIMATED GIF, WALLPAPER, STICKER FOR WHATSAPP & FACEBOOK Great Republic Day Sale | 20th - 23rd Jan

    Jobs & Career Engineering Faculty & Teaching Defense & Police UPSC Scholorship Railway IT & Computer SSC Clerk & Steno UGC NET
    Contents News Education General Awareness Government Schemes Admit Card Study Material Exam Result Scholorship DATA Syllabus Contact us
    Explore more Archives Web Archive Register / Login Rss feed Posts Free Online Practice Set Useful Links / Sitemap Photo / Video Search Pincode Best Deal Greetings Recent Jobs Guest Contributor educratsweb Latest Jobs Notification sarkariniyukti.blogspot.com Bharatpages - BUSINESS DIRECTORY IN INDIA - FREE ONLINE BUSINESS LISTING
    Our Blog Bhakti Sangam chitragupta ji maharaj shri shirdi sai baba sansthan

    Big Saving Days from 20th-24th Jan'21 | Early access for Plus Members | Flipkart.com
    Big Saving Days from 20th-24th Jan'21 | Early access for Plus Members | Flipkart.com

    Guest Post | Submit   Job information   Contents   Link   Youtube Video   Photo   Practice Set   Affiliated Link   Register with us Register login Login
    educratsweb logo
    educratsweb provide the educational contents, Job, Online Practice set for students.
    if you have any information regarding Job, Study Material or any other information related to career. you can Post your article on our website. Click here to Register & Share your contents.
    For Advertisment email us at educratsweb@gmail.com
    Search | http://educratsweb.com/content.php?id=55