SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,087
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Help me on this mail error

    Hi, i tried to run my php file that can send mail,it is just very simple or basic way of sending mail because i am just learning on this.but when i run my file this is what it shows

    ( ! ) Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\SenMail\www\Reg.php on line 15

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't usually have a mail server set-up locally, when you go live it *should* resolve itself if the server has mail running. For development purposes you can use a remote SMTP server http://email.about.com/od/emailprogr...nding_Mail.htm
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more

  3. #3
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,087
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RichardAskew View Post
    You don't usually have a mail server set-up locally, when you go live it *should* resolve itself if the server has mail running. For development purposes you can use a remote SMTP server http://email.about.com/od/emailprogr...nding_Mail.htm
    Hi, how can i use this in my free hosting?because i have website and i use free hosting.

  4. #4
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They may not provide the service if it is free, you need to ascertain if they allow it before going down this route.
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more

  5. #5
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,087
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RichardAskew View Post
    They may not provide the service if it is free, you need to ascertain if they allow it before going down this route.

    which one i am going to download i am confuse?
    Easy Install

    Not sure? Get more info.

    pear install Mail-1.2.0
    or this one
    Pyrus Install

    Try PEAR2's installer, Pyrus.

    php pyrus.phar install pear/Mail-1.2.0

  6. #6
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It shouldn't matter which one.
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more

  7. #7
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you get in touch with the company and ask whether or not it is installed? Be careful if you are on a shared server you may do damage to other sites.
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more

  8. #8
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,087
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RichardAskew View Post
    Could you get in touch with the company and ask whether or not it is installed? Be careful if you are on a shared server you may do damage to other sites.
    Hi, I am not in the company i am just at home, i just want to test sending mail because i have not yet tried to send mail.I hope you can help me...

  9. #9
    SitePoint Zealot
    Join Date
    Jul 2012
    Location
    Scarborough, North Yorkshire, United Kingdom
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do they not have contact details?
    Richard
    Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
    ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •