Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: emailing from a localhost

  1. #1
    Join Date
    Feb 2008
    Location
    Coventry
    Posts
    103
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Question emailing from a localhost

    Hi guys,
    iv had a lot of posts over the last few days anyway i was sort of hoping you could help me with this one as well.

    I want to be able to send a confirmation email to an email address(obviously) from my pc that i have set up using XAMPP. Every time i try to, it says

    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:\xampp\htdocs\ehomeboot\signup.php on line 238

    Which isnt very kind on my eyes never mind on users eyes. How do i go about sending the email from the localhost setup? obviously i know i have to have a connection to the internet. but what settings do i need to edit?

    any help would be great!
    The important thing is not to stop questioning. Curiosity has its own reason for existing.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    XAMPP isn't a mail server. You'll need to install one. XAMPP for Windows comes with Mercury Mail which should allow you to send emails just fine (after some configuration).

  3. #3
    Join Date
    Feb 2008
    Location
    Coventry
    Posts
    103
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Default

    Ok cheers, i know you've told me what to do, im just crap at getting things to work. I just need to know what happens next. Iv got XAMPP on windows already so great, but how do i go about configuring mercury mail??

    cheers, sorry to sound thick, but well i am when it comes to this lol
    The important thing is not to stop questioning. Curiosity has its own reason for existing.

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I don't use XAMPP, so I have no idea. But maybe some of the links on the wiki page I linked you to will help?

    Otherwise, wait for someone who uses XAMPP

  5. #5
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    Quote Originally Posted by city_coder View Post
    Ok cheers, i know you've told me what to do, im just crap at getting things to work. I just need to know what happens next. Iv got XAMPP on windows already so great, but how do i go about configuring mercury mail??

    cheers, sorry to sound thick, but well i am when it comes to this lol
    I don't know about XAMPP either, but mercury is a nobrainer. Just a few clicks, setup an alias for your local account and you're good to go.

  6. #6
    Join Date
    Feb 2008
    Location
    Coventry
    Posts
    103
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Default

    Yeah apparently it is a no brainer but i dont understand. maybe somebody that says its so easy can actually give me a few steps cos all uv all said is that its easy.
    im at a complete loss as to what it even is never mind getting it to send emails.
    Last edited by city_coder; 05-27-2008 at 11:14 PM.
    The important thing is not to stop questioning. Curiosity has its own reason for existing.

  7. #7
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    Oops,

    Sorry about that. I didn't explain, because I don't know how xammp is setup. I only know the mercury part. When you go to configuration / mercury core module you setup your server configuration. Under manage users you setup your local users and your alias. You might limit only local users to mail.
    I don't know your setup so I'm sorry I can't be more of assistance

  8. #8
    Join Date
    Feb 2008
    Location
    Coventry
    Posts
    103
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Default

    Ok cheers, well that was about as useful as c*ck flavoured lollipop to me lol no offence. its just me. i really dont get thats all. but thanks anyway
    The important thing is not to stop questioning. Curiosity has its own reason for existing.

  9. #9
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    Quote Originally Posted by city_coder View Post
    Ok cheers, well that was about as useful as c*ck flavoured lollipop to me lol no offence. its just me. i really dont get thats all. but thanks anyway
    Than who don't you make it easier and tell me what you have so far?

  10. #10
    Join Date
    Feb 2008
    Location
    Coventry
    Posts
    103
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Default

    Ok well il try. I just dont get where it fits in.
    I have a local server setup on my pc, apache and i want to be able to send emails out using a PHP script. Now i know that i need a mail server but does that mean that i need an alias? whatever that is?! i dont know.

    so my questions is i guess...
    what exactly is mercury mail and how do i use that to send emails(is it like forwarding? or do u not associate an email address with it?)
    The important thing is not to stop questioning. Curiosity has its own reason for existing.

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
  •