CFMail is not working in ColdFusion 10 - windows-7

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.

Related

How to sent mails in windows server

I am having my html template with two contact form. I am bit confused how can i make the mail functions in windows server.
Currently my client running with windows server supported by IIS v8.0 and he is not ready to install php to his server .
Smtp is also turned on now .
Can any let me know how can i make mail function works in windows server.

FTP server Windows 8.1 error: 530 Login or password incorrect

I follow this video steps by steps to create a local FTP Server on Windows 8.1. They use IIS to make FTP sites and add a Windows local user to login. But at the end, when I go to the server's IP address and login (using FireFox), I got this error: 530 Login or password incorrect!.
Can anyone help me?
Thanks
Try it:
Select your FTP Site from IIS dashboard. than select FTP Authentications. Inside the FTP Authentications set the Basic Authentications Enabled.
I'm not too familiar with IIS but have used other FTP servers. Couple of things to check:
Are you logging in from the same machine / remote machine?
If you are on the same machine, do you need the DOMAIN/Computer Name in there
Does the user you are trying to login as set up in IIS as being able to access the FTP Server?
Try checking the following,
User exists
User can access the FTP site
User you are entering into the FTP client has the right username and password.

SMTP authentication for Mercury Mail Server (Xampp) on Windows

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.

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$

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