[quote user="KJATL"]Hello,
This is my first foray into the world of Mercury. I was following a tutorial that involved testing a mail() PHP function using Mercury as the mail server. I believe the script is okay because it echos feedback "Message has been sent". Currently I have 28 items "pending" This is what i'm working with where xxx is the first part of my email address:
I ass-u-me that use are using XAMPP.
php.ini :
[mail function]
SMTP = localhost
smtp_port = 25
sendmail_from = Admin@192.168.1.10
This form of the address is invalid, the IP address must be enclosed in [] to make it a literal address. Use Admin@[192.168.1.10]
MercuryS output:
Connection from 127.0.0.1, Wed Apr 29 23:26:41 2009
HELO kkk
Should be a host name like [192.168.1.10] instead of kkk It will work here since Mercury/32 really does not care.
MAIL FROM:<localhost>
Should be Admin@[192.168.1.10] instead of localhost
RCPT TO:<xxx@gmail.com>
DATA
DATA - 6 lines, 185 bytes.
QUIT
0 sec. elapsed, connection closed Wed Apr 29 23:26:41 2009
Connection from 127.0.0.1, Wed Apr 29 23:30:36 2009
HELO kkk
MAIL FROM:<Admin@192.168.1.10>
RCPT TO:<xxx@gmail.com>
DATA
DATA - 6 lines, 185 bytes.
QUIT
0 sec. elapsed, connection closed Wed Apr 29 23:30:36 2009
Mercury Core:
Wed 29, 23:27:03: Job MG000041: from postmaster@[192.168.1.10] (non-local)
Created outgoing job with ID MO000042
To: Admin@[192.168.1.10] (non-local) -OK
Job was accepted and since [192.168.1.10] is not in the domains list then it's sent to the queue for delivery off server. Can't go anywhere though since the address is a non-routable IP address.
Wed 29, 23:30:43: Job MG000043: from Admin@192.168.1.10 (non-local)
Created outgoing job with ID MO000044
To: xxx@gmail.com (non-local) -OK
Job accepted and sent to queue for processing by MercuryC
Does anyone have any idea what I need to work on first?
Probably the outgoing protocol MercuryC used to send SMTP to the outside world via a relay host. MercuryE will not work since you have no fixed IP address and host name. Without a fixed IP address and host name 90% of the receiving SMTP hosts will reject your connection as spam.[/quote]