Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. mail()-function in PHP7 still available?

mail()-function in PHP7 still available?

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
csharpphpquestionannouncement
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    susad
    wrote on last edited by
    #1

    My webhoster updates his PHP to PHP7. I use this only for sending mails in a contact form using the mail()-function. Refering to http://php.net/manual/de/function.mail.php[^] in Version 7 mail() is no longer available. Am I right with this assumption? if yes, are there any alternatives? I could still use php4 functionality, but my webhosters wants extra fees for php4-support. Thanks in advance! André

    L T R 3 Replies Last reply
    0
    • S susad

      My webhoster updates his PHP to PHP7. I use this only for sending mails in a contact form using the mail()-function. Refering to http://php.net/manual/de/function.mail.php[^] in Version 7 mail() is no longer available. Am I right with this assumption? if yes, are there any alternatives? I could still use php4 functionality, but my webhosters wants extra fees for php4-support. Thanks in advance! André

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Did you try searching for the alternative, which is at http://php.net/manual/en/function.imap-mail.php[^]?

      N 1 Reply Last reply
      0
      • L Lost User

        Did you try searching for the alternative, which is at http://php.net/manual/en/function.imap-mail.php[^]?

        N Offline
        N Offline
        nilprajapati
        wrote on last edited by
        #3

        its work like old php version

        1 Reply Last reply
        0
        • S susad

          My webhoster updates his PHP to PHP7. I use this only for sending mails in a contact form using the mail()-function. Refering to http://php.net/manual/de/function.mail.php[^] in Version 7 mail() is no longer available. Am I right with this assumption? if yes, are there any alternatives? I could still use php4 functionality, but my webhosters wants extra fees for php4-support. Thanks in advance! André

          T Offline
          T Offline
          TheBillD
          wrote on last edited by
          #4

          Although this might be a necro thread, I believe the mail function is still working. They have been posting a couple of bug fixes for it, and the man page does list PHP 7.

          1 Reply Last reply
          0
          • S susad

            My webhoster updates his PHP to PHP7. I use this only for sending mails in a contact form using the mail()-function. Refering to http://php.net/manual/de/function.mail.php[^] in Version 7 mail() is no longer available. Am I right with this assumption? if yes, are there any alternatives? I could still use php4 functionality, but my webhosters wants extra fees for php4-support. Thanks in advance! André

            R Offline
            R Offline
            ribluc
            wrote on last edited by
            #5

            Yes, it works with PHP 7. Just in case, check this library GitHub - PHPMailer/PHPMailer: The classic email sending library for PHP[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups