SMTP authentication for Mercury Mail Server (Xampp) on Windows - xampp

I want to use Mercury Mail as a mail server in a local network. I managed to set up everything and I am able to send mails from one client to another in this local network via the Mercury Mail server (part of Xampp) on Windows 7. The whole environment is set up locally, i.e. communication is only between local users and not with the outside world (internet).
What I want now: When a local user sends a mail to another local user, I want them to SMTP authenticate first. From Mercury Mail Admin Panel SMTP Server, I don't see such option. Could you point me to the documentation or guide me on how to do it? Thanks a lot.

Related

Send email to external server using xampp localhost without any external SMTP

I want to send emails from my Pc(Localhost) to external servers like gmail,hotmail or yahoomail.
There are option to send email using Gmail/Yahoomail SMTP settings but i do not want to use any SMTP setting because of there daily limits.
And we also do not want to buy any email/newsletter services.
We want to create it Fully Free in our PC(Localhost).
Please tell us how can do it using Xampp and any open-source softwares.

How to configure email settings for Xcode Continuous Integration

I've set up Mavericks and OSX Server and have gotten Xcode bots up and running. There's a notification setting on each bot that allows you to email all committers on success or on failure. I've enabled that option and added an additional email address to test.
I can't seem to figure where to configure the email settings (i.e. smtp server, login, password). I've tried enabling Mail on OSX Server and set it to relay outgoing email through ISP, but that didn't seem to help.
Any guidance would be appreciated.
In order for emails to be sent out, all you have to do is set up postfix on your OSX machine.
Here's 2 guides I used when setting it up:
http://benjaminrojas.net/configuring-postfix-to-send-mail-from-mac-os-x-mountain-lion/
http://slashusr.wordpress.com/2012/02/14/enabling-postfix-for-outbound-relay-via-gmail-on-os-x-lion-11/
Afterwards, the emails got sent out without any issues.
These instructions are specific to the use case of a Xcode server running on a host not previously set up as a server.
Xcode Server runs as a system user and does not have access to user email settings.
When it generates emails, it uses the hostname and domain of the system and queues the email for delivery. Typically, unless the system has been set up as a server, the email goes nowhere from an email address unacceptable to ISPs and other mail providers.
OS X Server on Mavericks comes with a Mail server.
The following step set up the Mail server to relay all system mail to a mail service provider modifying the "From" address to a fixed name.
Step 1:
Use the "Server" application and examine the server configuration by clicking on your computer in the server section. Record the "Host Name:".
Step 2:
In /Library/Server/Mail/Config/postfix
Add to the file main.cf:
smtp_generic_map = hash:/Library/Server/Mail/Config/generic
Create a file generic:
#<host name> <user name>#<domain name>
Where <host name> is the host name recorded above and <user name>#<domain name> is the email address you want as the source of all emails from this host.
Step 3:
Using the "Server" application, set the email relay in Services>Mail.
Check Relay outgoing mail through ISP.
Click edit to set the parameters.
Step 4:
Turn on the mail server.
Step 5:
Test from terminal:
bash$ mail xxxx#xxxxx
Subject: Test
Test
.
bash$

CFMail is not working in ColdFusion 10

I have a Windows 7 (32bit) pc and installed ColdFusion 10. The cfmail tag is not working. It was working on ColdFusion 8.
Mail is going to the ColdFusion10\cfusion\Mail\Undelivr folder.
(Update from comments)
In the mail log I am seeing:
"Error","scheduler-0","04/18/13","17:29:13",,"javax.mail.AuthenticationFailedExc‌​eption:
535 No SMTP server defined. Use real server address instead of
127.0.0.1 in your account. "
Looking at the error that you are receiving my guess would be that you have not defined the SMTP server for ColdFusion to use so it is attempting to route the mail through your Windows 7 pc. You can define the SMTP server settings in the ColdFusion administrator for all of your cfmail tags. (You can also define the settings in the cfmail tag itself.)
Here is a link to the docs for the mail settings under the ColdFusion administrator.
After adding the settings in the administrator be sure to check the "Verify Mail Server Connection" option. This will test the connection for you when you click the submit button. Your mail will not work until you can successfully connect to your SMTP server.

Oracle Database: possible to send email from PL/SQL through proxy server?

I find a lot of details on the internet how to configure Oracle database to use PL/SQL commands to send an email from the database, but they're all using the SMTP server that the database is installed in (I think at least). If these emails are being sent to DBAs, then that's fine.
What about the scenario where an email is sent to customers? In this case wouldn't we want the email to be sent from an application server (e.g. DMZ), and NOT the database server?
I'm assuming the IP address of the database server (or other special information regarding the database server that we'd rather keep private) would be available in such an email. If this isn't true, my question has no merit.
Is it possible to generate an email from the database PL/SQL command(s) but have it sent to the customer from a proxy (e.g. application) server? So the email traffic route would be: database server --> application server --> customer. The added benefit is most email systems would be on the application server anyway so returned emails would go the application server.
If you're using UTL_SMTP, your code will have a line like this somewhere:
c := UTL_SMTP.open_connection( 'myhost', 25 );
The first parameter is the mail server. You should be able to set it to any server that your database server can connect to (via port 25).
They're not necessarily using the SMTP server that the "database is installed in" (not really sure what you mean by that). You define the system parameter SMTP_OUT_SERVER to configure the IP and port of the SMTP server. Oracle will send email to whatever server you define, as long as it is network accessible.
See this site for more information on setting up UTL_MAIL. Try it out. Look at the headers. See for yourself what it looks like.

SMTP local server in windows 7? (running IIS7)

I'm trying to send a mail via python code via local SMTP server (localhost, port 25) in Windows 7 Enterprise edition. I'm obviously getting the irritating
[Errno 10061] No connection could be made because the target machine actively refused it
message, because I don't have any SMTP server installed. Because of Microsofts' ambigious documentation I thought that I can use the Server manager tool to install the local SMTP service, only to discover that it doesn't work on Windows 7.
I've read here in other threads that Windows 7 does not include the SMTP service anymore, so it doesn't have a local SMTP server. All threads directed the questioners to other, 3rd party SMTP services. The question is: is there any other way of configuring a local SMTP server yet? Or is it still an open issue, and I have no choice but to use a 3rd party software?
This response is a little late, but might help the next person...
No, Windows 7 does not come with an SMTP server. Supposedly Remote Server Administration tools includes an SMTP server, but according to this link, it does not work.
Some options for sending email from a Windows 7 machine are:
For development purposes, I like smtp4dev https://github.com/rnwood/smtp4dev. It is open source and emulates a SMTP server. However instead of actually sending the email, it keeps in in an app on the system tray. Great for making sure you don't accidentally SPAM your users.
If you are planning to send emails out for real, I would advise using a SMTP server with a static IP address as most spam filters dislike dynamic addresses and will block the email.
I have not used it, but if you must send email from your local Windows machine and am not worried about SPAM filters, Free SMTP Server from www.softstack.com seems pretty popular.
[Edited link to new code repository]

Resources