Community Discussions and Support
Adding an TLD (like .com) to local email address on test environment

Thank Peter. That was easy enough. I wish I would have done that a long time ago. lol

Thank Peter. That was easy enough. I wish I would have done that a long time ago. lol

I'm running Mercury on a test environment Apache/Win for testing web pages. A problem I often encounter when testing scripts that send mail is that the current address my setup uses is test@localhost - which fails validation. On simple things it's easy enough to comment out email validation, but it's a pain. And when I'm testing contributed stuff it's a real pain.

 

Is there a way I can add a TLD to the end of the address, like test@localhost.com?

<p>I'm running Mercury on a test environment Apache/Win for testing web pages. A problem I often encounter when testing scripts that send mail is that the current address my setup uses is test@localhost - which fails validation. On simple things it's easy enough to comment out email validation, but it's a pain. And when I'm testing contributed stuff it's a real pain. </p><p> </p><p>Is there a way I can add a TLD to the end of the address, like test@localhost.com? </p>

Hi,

just add to local domains section as follows:

for example:

[Domains]
localhost: localhost
localhost: localhost.net
localhost: localhost.org
localhost: localhost.com

and after that you can send any mail to test@localhost.com ...  test@localhost.net    ....

HTH

Peter

 

<P>Hi,</P> <P>just add to local domains section as follows:</P> <P>for example:</P> <P>[Domains] localhost: localhost localhost: localhost.net localhost: localhost.org localhost: localhost.com</P> <P>and after that you can send any mail to <A href="mailto:test@localhost.com">test@localhost.com</A> ...  <A href="mailto:test@localhost.net">test@localhost.net</A>    ....</P> <P>HTH</P> <P>Peter</P> <P mce_keep="true"> </P>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft