How config send email on localhost when register accounts?

Issues when installing or upgrading AlegroCart
User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: How config send email on localhost when register accoun

Post by Brent » Sun Jan 09, 2011 6:34 am

It's very simple.
Create an domain on Hmail. It will usually the main domain you have pointing to your server. your domain.com
Set that account up to supply validation for your ISP mail server.
Under settings,Protocols, SMTP, Delivery of email.
Once you have that email account functioning, able to send and receive email, you are set.
Just set the SMTP in php.ini to point to that email account. SMTP = your domain.com
Usually set the port in php.ini to 25
Now you can have as many sites as you want using php mail.

citadmin
Posts: 6
Joined: Thu Jan 06, 2011 5:29 pm

Re: How config send email on localhost when register accoun

Post by citadmin » Mon Jan 17, 2011 6:49 am

Brent I installed my hMailServer on my windows box that is running AlegroCart. I created my MX record on another windows that's running DNS and I also assigned a static ip to the MX record that I created and the hMailerServer test is resolving to the correct server and ip. I am still not able to connect, here's my diagnostic. Please help me figure this out.

Test: Collect server details
hMailServer version: hMailServer 5.3.3-B1879
Database type: MySQL

Test: Test IPv6
IPv6 support is not available in operating system.

Test: Test outbound port
SMTP relayer not in use. Attempting mail.hmailserver.com:25
Trying to connect to host mail.hmailserver.com...
Trying to connect to TCP/IP address 83.169.11.240 on port 25.
Connected successfully.

Test: Test MX records
Trying to resolve MX records for porttasteofafrica.com...
Host name found: ibotita.showitandtell.com

Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain porttasteofafrica.com...
Trying to connect to host ibotita.showitandtell.com...
Trying to connect to TCP/IP address 99.160.200.3 on port 25.
ERROR: It was not possible to connect.
ERROR: Was not able to open connection.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: How config send email on localhost when register accoun

Post by Brent » Mon Jan 17, 2011 9:16 am

Set up an email account porttasteofafrica.com in Hmail.
Use your username and password as per previous post.
Check the logs to see exactly what the errors are.
edit:
How do these 2 servers connect. Are the on a local network.
Do the connect to each other through the WAN or LAN.
If it is WAN, what you are trying to do might be a problem. When you try to resolve the porttasteofafrica.com email,
which I assume is an valid email address on your ISP, you won't be using the Hmail.
Test: Test MX records
Trying to resolve MX records for porttasteofafrica.com...
Host name found: ibotita.showitandtell.com
You might have to create a new email address on the Hmail and set you local MX to resolve to that domain.

I have Hmail on a test server, with the domain on Hmail resolved through my domain DNS service.
I then set local computers on the LAN to resolver the the local server IP address. Email works from clients and all cart instances.

Post Reply