Hey City_coder...
I still don't have much to add on this topic but I wanted to point you towards the Mercury Mail forums. Perhaps you can find some information there?
Just an idea. Hope that helps some.
Printable View
Hey City_coder...
I still don't have much to add on this topic but I wanted to point you towards the Mercury Mail forums. Perhaps you can find some information there?
Just an idea. Hope that helps some.
I'm still guessing here, because you provide little information;
Do you have a domainname?
Why do you need to send mail through php?
What server configuration does mercury has?
I downloaded the zip of xampp, but I see there is an installer too. What version of xampp are you using?
Just a few question I can think of.
I assume you're joking!Code:what exactly is mercury mail
Do you have a domainname? Do you want it to forward?Code:how do i use that to send emails(is it like forwarding? or do u not associate an email address with it?
Ok, sorry il try again,
nope no domain name sorry
im sending mail through a script because im writing a mailing script for signing up to a site. This site is in building & testing at the minute and so there is no point me buying a domain name and web space.
as to what server configuration mercury has well i dont know and i can tell u that because of the answer you assumed, i still dont know what mercury is besides a mail server, especially dont know how it works.
erm the latest version of xampp, i dont think it will make much difference to mercury as it will be the same...im guessing, i could be wrong.
sorry, hope that helps in some way
No, you're right. It's just for pointing directory locations. If you haven't configured your server yet, there is no harm in posting your mercury.ini here.Code:erm the latest version of xampp, i dont think it will make much difference to mercury as it will be the same...im guessing, i could be wrong.
Why do you need your script to mail? Why not insert it into a table?Code:im sending mail through a script because im writing a mailing script for signing up to a site. This site is in building & testing at the minute and so there is no point me buying a domain name and web space.
Right ok, heres my mercury.ini file it should be the same as yours(if you did install it)
I need to mail as well, i do insert it into a table at the same time based on the results of the email being sent. Its just an easy way to stop web bots signing up and causing havoc in my db straight away. At least this way they can only get so far.Code:# MERCURY.INI generated by Mercury Setup
[General]
myname: localhost # Canonical name for this server
timezone: +0000 # Time Zone to add to date fields
file_api: 1 # Use the file api instead of queues
mailqueue: C:\xampp\MERCURYMAIL\QUEUE # Where mail should be put for delivery
smtpqueue: C:\xampp\MERCURYMAIL\QUEUE # Where the SMTP client should look for mail
newmail_path: C:\xampp\MERCURYMAIL\MAIL\~N # Where to find the users' WinPMail mailboxes.
[Protocols]
C:\xampp\MERCURYMAIL\mercurys.dll
C:\xampp\MERCURYMAIL\mercurye.dll
C:\xampp\MERCURYMAIL\mercuryp.dll
C:\xampp\MERCURYMAIL\mercuryd.dll
C:\xampp\MERCURYMAIL\mercuryx.dll
C:\xampp\MERCURYMAIL\mercuryf.dll
C:\xampp\MERCURYMAIL\mercuryh.dll
C:\xampp\MERCURYMAIL\mercuryw.dll
C:\xampp\MERCURYMAIL\mercuryi.dll
C:\xampp\MERCURYMAIL\mercuryb.dll
[Mercury]
failfile: C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: C:\xampp\MERCURYMAIL\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: C:\xampp\MERCURYMAIL\Mercury\ALIAS.MER # System-wide alias file
synfile: C:\xampp\MERCURYMAIL\Mercury\SYNONYM.MER # User synonym database
listfile: C:\xampp\MERCURYMAIL\Mercury\LISTS.MER # List of lists
logwidth: 30 # Width of address fields in logfile
retpath: 1 # Do/Don't use 'return-path' for errors
maxhops: 30 # Used to detect mailing loops
gullible: 0 # If NZ, don't validate 'From' fields
bitnethost: cunyvm.cuny.edu # Relay host for '.bitnet' rewrites
poll: 10 # Seconds between queue polling cycles
scratch: C:\xampp\MERCURYMAIL\Scratch # Where we can write temp files
returnlines: 15 # How many lines of failed messages to return
postmaster: Admin # NetWare UIC of postmaster
broadcast: 1 # Yes, we want broadcast notifications, but
receipts: 0 # ... no broadcasts for receipt confirmations
PM_notify: 1 # Do/Don't send errors to the postmaster
change_owner: 1 # Change message ownership to recipient
auto_tzone: 1 # If NZ, obtain timezone information from OS
LogLevel: 15 # System message reporting level
LogMax: 100 # Maximum number of system messages to store
RetryPeriod: 30 # Period between job retries (minutes)
MaxRetries: 16 # Maximum number of times a job can fail
TwoPasses: 1 # If NZ, process submission queue in 2 passes
Autoaddress: 0 # If NZ, auto-generate user addresses based on name
Daily_exit: 0 # If NZ, auto-restart each day after maintenance
No_Areply: 0 # If NZ, disable automatic replies system-wide
Alt_Forward: 0 # If NZ, allow alternate forwarding specification
Maint_hour: 2 # Hour for daily maintenance (24-hour clock)
Maint_min: 0 # Minute for daily maintenance
Retry_Mode: 0 # If NZ, use progressive backoff for queue retries
[MercuryC]
# Session_logging: G:\ # Directory to write session transcripts
host: # mail mail host which relays for us
scratch: C:\xampp\MERCURYMAIL\Mercury # Where we can write temp files
poll: 30 # Seconds between queue polling cycles
returnlines: 15 # How many lines of failed messages to return
failfile: C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER # Delivery failure template
esmtp: 1 # Yes, we want to use ESMTP extensions
[MercuryE]
Poll : 15
Timeout : 60
# Session_logging : o:\mail\mercury\melogs
# Session_logmode : 1
# Nameservers : 139.80.64.1
[MercuryD]
scratch : C:\xampp\MERCURYMAIL\Mercury
# Timeout : 30
# Poll : 120 # How often to check hosts for new mail (seconds)
[MercuryS]
# Session_logging: G:\ # Directory to write session transcripts
debug: 1 # Whether or not to show session progress
# allow: 192.156.225.2 # A machine we WILL permit to connect
# refuse: 192.156.225.0 # A group of machines we WON'T permit.
logfile: C:\xampp\MERCURYMAIL\Logs\MERCURYS.LOG
# size: 1500000
Relay : 0 # Control non-local relaying
[MercuryP]
Scratch : C:\xampp\MERCURYMAIL\Mercury
Stack : 32768
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
Timeout : 60
[MercuryX]
# Cmd_Delay: 10
# Cmd_Wait: 1
# IE4_Dialling: 0
# Use_ETRN: 1
# Clients_only: 1
# Sunday: 0800,1800,3,15,30,60
# Monday: 0830,2100,5,15,60,60
# Tuesday: 0830,2100,5,15,60,60
# Wednesday: 1500,1900,2,30,5,30
# Thursday: 0900,1900,2,30,0,0
# Friday: 0830,2100,5,15,60,60
# Saturday: 1031,1035,2,45,-1,0
# [Groups]
# testgroup : TESTGRP
[Domains]
# NetWare Server Domain name
localhost : localhost
localhost : localhost.net
localhost : localhost.org
localhost : localhost.com
[Maiser]
Maiser: Maiser # 'Username' of mail server account
Helpfile: C:\xampp\MERCURYMAIL\Mercury\MAISER.HLP # Help sent on failed maiser requests
Lookupfile: C:\xampp\MERCURYMAIL\Mercury\MAISER.LKP # Format file for the 'lookup' command
Send_dir: C:\xampp\MERCURYMAIL\Mercury\SENDABLE # Directory for the 'send' command
Logfile: C:\xampp\MERCURYMAIL\Logs\MAISER.LOG # Mail server log file
Notify: C:\xampp\MERCURYMAIL\Mercury\TMP # Dir. for pending 'notify' commands
NoList: N # If 'Y', disable the 'list' command
Local_only: Y # If 'Y', local 'notify' commands only
[MercuryH]
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYH.LOG
# Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
# MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
# Administrator : postmaster@clio.pmail.gen.nz
Timeout : 30
[MercuryI]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800
SSL_Mode : 0
Login_Disabled : 0
[MercuryB]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
# Logfile : o:\mail\tmp\mercuryb.log
Timeout : 120
Server_Port : 80
# Session_logging : o:\mail\mercury\mblogs
# Session_logmode : 0
Idle_Timeout : 1800
# URL_Base : enter_your_domain_here
[Groups]
[Rewrite]
[Statistics]
StatFlags: 0 # Statistical reporting settings
STF_Hours: 24 # How often to write stat log files
STM_Hours: 24 # How often to e-mail stat log files
I noticed at about line 127 of the original mercury.ini that it has [Domains]. Is that something to go on?
execute C:\xampp\MERCURYMAIL\Mercury.exe
1) under configuration / protocol modules - enable mercurys module
2) under configuration / manage users - create an user account
3) safe and restart mercury and see if you can send mail to it. I'll probably respond with an error message, but first things first.
You just can use localhost or an IP number. That is as long as you want to use it locally.Code:noticed at about line 127 of the original mercury.ini that it has [Domains]. Is that something to go on?
Well for starters i dont have a mercury.exe but i started it through xampp.
Then all of the protocol modules are already running but couldnt find a 'mercurys module'
When i create an account, what account am i creating? my email address that i already have that im testing with? 1 thats completely new? 1 for mercury only?
city_coder,
you're a funny person. If mercury.exe isn't there, mercury wouldn't even start.
You should uncheck all modules except the first one (mercuryS).
One for mercury only. Since you don't have a domain, you need to create a mercury only account.
haha cheers, i am quite proud of my inability to follow instructions and my ability to make jokes, especially my slap-city_coder jokes!!! haha get it? slap-city_coder? like slap-stick? no? well i found it funny
ok i unchecked all the boxes except for MercuryS SMTP server
ok this mercury only account is what? the sending account? the receiving account for testing? the im really lost account?
i take it its the sending account and if so, how does that help with my mail going through. how does it know to send it through mercury?
Sending/receiving doesn't matter, but in this case you need to think of receiving.
Ok, you need to add an alias to that account otherwise you can't send locally.
patience, patience, all in good timeCode:I take it its the sending account and if so, how does that help with my mail going through. how does it know to send it through mercury?