How to send and receive email in Xampp?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to send and receive email in Xampp?

Postby Galdhrim » 05. June 2008 19:16

First I will try to explain my problem.

I need to setup an e-commerce site, as a class project. I decided to use xampp in my home computer, with no-ip to solve the problem of dynamic IP. But I could never make e-commerce to send email messages (I followed a lot of hints to use fakemail, but it never worked).

Also, since I need a secure connection, I tried to ask a comodo free trial certificate. At first, I had a problem because they said somebody had already asked a certificate for domain. I opened a ticket and explained the situation, and they fixed it. Then I tried again, and now I must be able to receive an email in to let them know I am really the admin of that subdomain. Great, so now I ALSO have to be able to receive emails in my computer...

So I read the Mercury manual, I did the few thing I could understand (it was very late at night), and tried to send a message using the File menu, to my gmail account, and it worked fine. I replied the message... but I couldn't receive the reply. I tried to configure Thunderbird to access the admin account, but it didn't find any message. After several test messages, the queue folder have a lot of files, from 0 kb to 32 kb. And the worst thing is my class project is not about configuring a server, it is about setting up the e-commerce site, and that part is halted because I can't make the server use email functions. I am running out of time... so if somebody can help me to solve this problem, I would really apreciate it. I'd love to read the manual and research all the topics I don't know what is it talking about, but I can't do that now...
Posts: 35
Joined: 28. March 2008 05:20

Postby Galdhrim » 05. June 2008 19:26

By the way, here is something gmail said about the bounced message (but now they are not even bouncing)

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

Technical details of permanent failure:
PERM_FAILURE: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 553 553 We do not relay non-local mail, sorry. (state 14).

----- Original message -----

Received: by with SMTP id m5mr1572646wxm.22.1212674757824;
Thu, 05 Jun 2008 07:05:57 -0700 (PDT)
Return-Path: <**********>
Received: from ?my ip? ( [my ip])
by with ESMTPS id i10sm3606367wxd.33.2008.
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Thu, 05 Jun 2008 07:05:56 -0700 (PDT)
Message-ID: <>
Date: Thu, 05 Jun 2008 10:06:12 -0400
From: Galdhrim <********>
User-Agent: Thunderbird (Windows/20080421)
MIME-Version: 1.0
To: E-Mail Administrator <>
Subject: Re: Trying to figure out if this thing is working...
References: <>
In-Reply-To: <>
X-Enigmail-Version: 0.95.6
OpenPGP: id=*******
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Posts: 35
Joined: 28. March 2008 05:20

Postby Galdhrim » 07. June 2008 07:36

Solved, no need to reply to this.

sendmail (fakemail) sends to Mercury, and Mercury relays to my gmail account.

And it just took half morning, the whole afternoon, and 1 cigarrettes packet to setup it, including the free comodo certificate.
Posts: 35
Joined: 28. March 2008 05:20

Postby w4vy » 07. June 2008 15:15

Dude tell us how you did it then please, there's loads of us having this same problem (including me Sad ) Wink

User avatar
Posts: 153
Joined: 04. June 2008 09:58
Location: England

Postby Galdhrim » 15. June 2008 21:05

w4vy wrote:Dude tell us how you did it then please, there's loads of us having this same problem (including me Sad ) Wink


Sorry, I have been so busy I forgot to enter here to check...

I configured sendmail to send to Mercury, which is in my localhost:
(from sendmail.ini)


; you must change to your smtp server


I provided too the required authentication details to sendmail, and off course, I created the mail account needed.

On Mercury, I am using MercuryC SMTP Relay, and I configured it to rely using my gmail account. I provided the authentication and port info too, and instructed it to use SSL encryption via STARTTLS command.

And now it is working. I hope I have not fogotten vital info to make this work, now I don't remember much more, since it was a kind of "trial and error" way to configure this. I hope this can help, if not... sorry, it is the best I can do.

By the way, my ISP doesn't block ports, but also, it doesn't provide email accounts.
Posts: 35
Joined: 28. March 2008 05:20

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 73 guests