Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Send an e-mail to a POP3 E-Mail account

  1. #11
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    You could access you@yoursite.com, not you@gmail.com
    Most of the time you're allowed to edit the address that the e-mails are sent to...
    - Mike

  2. #12
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    IMAP is a completely different protocol than POP3. However, you would be able to log into your POP3 account if their server had IMAP enabled. Otherwise, you will not be able to do it. If IMAP is enabled; though, you may want to look at the imap functions on php.net.

    Hope this helps.

    //EDIT: Although I recommend doing what djr33 suggested. It would probably be a lot more reliable. (Also, keep in mind that if IMAP is enabled; but on a different port other than 143, then the imap functions will not work properly.)
    Last edited by thetestingsite; 04-15-2007 at 05:18 AM.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #13
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Thanks.
    I'll look into configuring my server soon.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  4. #14
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Ok. I ended up setting my own e-mail server with hMailServer or something.
    It supports SMTP.

    Now, how do I set the mail() function?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  5. #15
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In your php.ini file, look for "Mail Settings", you'll see 2 things (if you are on windows) SMTP Server, and SMTP Port (or something similar). The server should be set as localhost (or the address of your server) and the port should be 25 (or the port of your server).

    Hope this helps.

    //EDIT: Also in hMailServer, you will have to play with the configuration a little to get PHP to send emails through it.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  6. #16
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    //EDIT: Also in hMailServer, you will have to play with the configuration a little to get PHP to send emails through it.
    How would I configure that?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  7. #17
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Well, in the hMailAdmin program look under the heading "SMTP". Beneath that there is aother heading that says (I think) "IP Homes". Click on "My Computer" and you will see some checkboxes for you to limit who can/cannot send through your server. Same with "Internet".

    //EDIT: For the settings I mentioned above (the IP Homes thing) is actually under these heading: "Settings" => "Advanced" => "IP Ranges" => "My Computer" or "Internet".
    You will then see the checkboxes underneath the heading "Allow Deliveries from:".

    Hope this helps.
    Last edited by thetestingsite; 04-18-2007 at 03:02 PM.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  8. #18
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Thanks.
    I've got the e-mail setup and I can recieve and send e-mails to myself. But I can't send e-mails to other people.

    I've tried doing Settings>Advanced>IP Ranges>Internet and deselected both options for "Require Authentication for deliveries" but it keeps on adding to the queue.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  9. #19
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    What about the options in "Allow Deliveries From" part, did you check all of the items? Also, you need to make sure that you have an MX record set up so others can send mail to you (and in some cases, receive mail from you).

    Hope this helps.
    Last edited by thetestingsite; 04-19-2007 at 02:47 AM.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  10. #20
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Quote Originally Posted by thetestingsite
    What about the options in "Allow Deliveries From" part.
    They're all ticked.
    Quote Originally Posted by thetestingsite
    Also, you need to make sure that you have an MX record set up so others can send mail to you (and in some cases, receive mail from you).
    How do I configure that?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

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
  •