Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: php mailer

  1. #1

    Default php mailer


    kinsa naka sulay ninyu solbad ani php mailer error nga stmp?

  2. #2

    Default Re: php mailer

    I can be of help....

  3. #3

    Default Re: php mailer

    Warning: mail() [function.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\mail.php on line 10
    mail() Failure!

  4. #4

    Default Re: php mailer

    Ang problem ana kay dili running ang smtp server nmu or sayup imu setting sa php.ini nga file. If dili running imu smtp server, e run.

  5. #5

    Default Re: php mailer

    LIMITATIONS OF THE PHP MAIL FUNCTIONS

    1. You must modify the PHP.INI file to change email servers.
    2. You cannot use an encrypted connection to the email server.
    3. You cannot provide a username and password when connecting to the email server

    To start you will need to know the Host name of your SMTP server, typically, the hostname is a subdomain name such as smtp,gmail.com or maybe an IP address 192.168.1.10.

    Next you will need to know if your SMTP server uses SSL encryption and what port number you need to use. If uses SSL server, the default port is 465. Otherwise is 25. An SMTP server can use any port number, however, so you need to specify the correct port number for your SMTP server.

    USING GMAIL ACCOUNT

    1. Login to your Gmail account and go to your Inbox
    2. Click “Settings” link at the top of the page.
    3. On the setting page, click the “Forwarding and POP/IMAP” link
    4. In the POP download section, select the “Enable POP for all mail” option.
    5. Click the “Save Changes ” button.

    CONFIGURATIONS in Mail.php:

    Host name: ssl://smtp.gmail.com (use: smtp.gmail.com, if not using SSL)
    Encryption: SSL
    Port number: 465 (or 25)
    Authentication: Yes
    Username: username@gmail.com
    Password: yourGmailPassword

    PHP.INI File

    Code:
    [mail function]
    ; For Win32 only.
    ; http://php.net/smtp
    SMTP = smtp.gmail.com
    ; http://php.net/smtp-port
    smtp_port = 25
    
    ; For Win32 only.
    ; http://php.net/sendmail-from
    ;sendmail_from =admin@gmail.com
    
    ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; http://php.net/sendmail-path
    ;sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
    Or you may check to this site:
    PHPMailer tutorial

    If in case it will not work locally (as per of my experience), you will need to deploy it to the web hosting site to work.

  6. #6

    Default Re: php mailer

    stmp lang g hapon ang error

  7. #7

    Default Re: php mailer

    Quote Originally Posted by skeptic_rob View Post
    Warning: mail() [function.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\mail.php on line 10
    mail() Failure!
    easiest way:
    naa kay imong server? kay kng naa nana d nmn ka need mg config sa imong php.ini. katong code akong ge hatag nmo kay need ato e online imong site before ka mkasend og mails and receive emails.

  8. #8

    Default Re: php mailer

    running phpmailer on local server is not a good idea, since it is not allowed because it has been exploited by spammer, you can however do a workaround... what i did is i used google server as my mail server...

    are you using the basic phpmailer or you are using a php class php mailer from worxware

  9. #9

    Default Re: php mailer

    yap sa local server ra ko then im using php mailer g pang example sa internet dli gud ko mo work any idea mga bro

  10. #10

    Default Re: php mailer

    Quote Originally Posted by skeptic_rob View Post
    yap sa local server ra ko then im using php mailer g pang example sa internet dli gud ko mo work any idea mga bro
    try using php mailer from worxware, naa silay php class didto optimize to use gmail as web server...

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Today, I only have Php 20.00 in my pocket.. GAME!
    By ZuperTzai in forum General Discussions
    Replies: 211
    Last Post: 05-03-2020, 01:08 PM
  2. PHP vs ASP?
    By MyGIRBAUD`DotCom in forum Websites & Multimedia
    Replies: 42
    Last Post: 12-08-2005, 07:03 PM
  3. PHP syntax!!!! syntax!!!! Syntaxx!!!! any... any... any
    By dodie in forum Websites & Multimedia
    Replies: 46
    Last Post: 08-19-2005, 03:11 PM
  4. Web programming like PHP, ASP, HTML AND FLASH ANIMATIONS
    By michaxze in forum Websites & Multimedia
    Replies: 10
    Last Post: 07-30-2005, 05:50 AM
  5. Where: Cebu based PHP/MySQL based hosting
    By cmontoya in forum Websites & Multimedia
    Replies: 19
    Last Post: 06-29-2005, 10:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top