Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 9 of 9

This is a discussion on Sending email with PHP in Window Server 2003 in the Windows forum
Hi, I'm having clien't server installed Window server 2003 and It was installed PHP, Apache an MySQL. However, i have new problem about sending email, ...

  1. #1
    JPC Member
    Join Date
    Nov 2007
    Posts
    33

    Exclamation Sending email with PHP in Window Server 2003

    Hi,

    I'm having clien't server installed Window server 2003 and It was installed PHP, Apache an MySQL. However, i have new problem about sending email, it has yet installed SMTP server for sending email, so I can't use PHP mail() function now, I was trying to install a few mail servers but no result. So can you help me solve this problem ?
    and what mail server program's should I use for it ?

    Thanks alot

  2. #2
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    IIS comes with a virtual SMTP server you can use. Since you are using Apache you can just disable to IIS web server but keep the SMTP server. See this article:

    http://msdn.microsoft.com/en-us/library/8b83ac7t.aspx

    If you have small business server by any chance you will already have exchange installed, you can (and should) use that.

  3. #3
    JPC Member
    Join Date
    Nov 2007
    Posts
    33

    Re:Sending email with PHP in Window Server 2003

    Thanks for your answer.
    However, I tried install SMTP and start it, however window tells that "Could not start the Microsoft POP3 Service service on Local Computer - Error 1068 The dependency service or group failed to start". So I can't start this service ? How can I start this service ?

    Also, I tried to use hmailserver and write PHP script to connect it, however when I test, it returned error is "NoMailer Error: SMTP Error: The following SMTP Error: Data not accepted.mailabc@gmail.com"

    So how can I solve this problem ?

    Thanks

  4. #4
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Do you have microsoft exchange running on this server?

  5. #5
    JPC Member
    Join Date
    Nov 2007
    Posts
    33
    No, it doesn't have

  6. #6
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    You might want to verify that Microsoft POP3 Service isn't disabled. If you try to start this service manually (using services.msc) does the event log return any error messages?

  7. #7
    JPC Member
    Join Date
    Nov 2007
    Posts
    33
    Yes, I tried to start manually. it showed error is "Could not start the Microsoft POP3 Service service on Local Computer - Error 1068 The dependency service or group failed to start".

  8. #8
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    POP3 service? POP3 is about receiving email, not sending it. Perhaps I misunderstand and MS has bundled SMTP & POP3 together in a bundle named "Microsoft POP3 Service", but otherwise POP3 shouldn't be relevant. It's SMTP you're looking for. (Then again, that "dependency service or group" error might just be an indication that mail related things on your box in general, so including SMTP, are not well.)

    Does it help if you explicitly use "localhost" and the SMTP port "25" as parameter when you call mail(), rather than rely on the default to handle that?
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  9. #9
    JPC Member jimmbanks's Avatar
    Join Date
    Jul 2009
    Posts
    2

    Sending email with PHP in Window Server 2003

    I have XAMPP installed on Windows XP. Decided to play around in the phpMyAdmin window before I fully understood what I was doing. Added a password for root and then created a new user with the same password.

    Got an error either immediately or right after reclicking on Admin in the XAMPP Control Panel:

    "Cannot connect: invalid settings.
    phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server."

    Hopefully someone knows how to fix this. Id really rather not do another re-install of XAMPP now that everything else is working

    Thanx, Glenn
    (p.s. by the way, who from neverland? hello neighbours! )

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
  •