arnabnaha wrote on Monday, October 11, 2010:
hi pimm
Set up of Mercury Mail
1. opened the programme by double clicking “loader” application in my C:\Xampp\mercury Mail\ folder.
2. from configuration tab in the window of mercury mail, clicked on Protocol modules.
3. A window called “Select Active protocol Modules” open up
4. Deselect MercuryE SMTP end to end delivery client. Select Mercury C SMTP relaying Client. Also Deselect Mercury IMAP4rev1 server and Mercury B HTTP web server. (I did these as i found them in a tutorial on google search.)
5. Press Ok in that window. Please restart your apache….its a must.
6. now…from the configuration tab, click on " Mercury Core Module Configuration"
7. In the new window that pops, enter localhost for -Internet name for this system, only keep “send copies of all errors to the post master” selected and deselect all other , select the time zone, keep username of postmaster as Admin.
8. Go to the Local domains tab in the same window…
9. In the local domains tab, you should have localhost as " Localhost or server" and localhost as " internet Name" in the list given. if there are no list, then just add domain with the above credentials.
10. Click ok.
11. From the configuration tab click on MERCURY SMTP SERVER
12. in the new window, type- Anounce my self as -127.0.0.1, IP Interface to use - 127.0.0.1, Listen on TCP/IP Port - 25, keep all other default settingas it is…form the check boxes below, select only " display session progress and debugging information" and the rest should remain as deselected.
13. click on the CONNECTION CONTROL tab.
14. Click on Add Restriction
15. type the IP range as - 127.0.0.1 to 127.0.0.1 (so that only this computer uses it). click on allow connections in the attributes. and press OK leaving everything else as default.
16. In the relaying control options just below add restriction button, only select " Do not permit SMTP relaying of non-local mail" and leave others deselected…
17. Click ok.
18. From the configuration tab, inthe main window, click on Mercuru POP3 Server.
19. in the new window that opens, Type- TCP PORT = 110, IP Interface - 127.0.0.1. keep others as default.
20. Click on connection control tab, and do the same thing as done in setting up the SMTP server.
21. Click OK
22. From the configuration tab, click on Mercury SMTP Relay Client.
23. in the new window, type: SMART HOST NAME = smtp.gmail.com, Connection type/port: 465, SSL encryption using direct connection (this setting was required to send mails to gmails, i dont know what to do for the local host and openemr)
24. Gibe the gredentials for SMTP authorisation, Login user name: aaa@gmail.com ,password: pppppppp
25. Click OK
26. from the configuration tab, click on Mercury POP client
27. leave everything default, only click add under pop3 account information space
28. In the new window that opens on clicking add, write POP3 host as pop.gmail.com, username: aaa@gmail.com, password pppppp (your gmail password). TCP/ip port 110, normal (No SSL Encryption)
29. Click ok
30. Click Save.
31. In C:\Xampp\php open the php configuration file
32. under mail function, write : SMTP=localhost, smtp_port = 25 and sendmail_from = postmaster@localhost
33. save the php configuration file.
34. In the mercury window, click on file
35. click on Sen mail message…
36. in the new window, fill out the to : with email address of the recepient, a subject and a body
37. click send.
38.your message will be deliverd
This is all i did to send mail…but i cant send mail from the openemr interface…what should be the settings for that. even i cant send the mails automatically…its still a manual process… what to do???/ HELP please….