SMTP Relay is unable to send mails to inside domain - windows

Emails are triggered from our HP Process Automation 7.5. The SMTP server configured in the application as localhost.
We have SMTP Relay configured under Windows Server 2012 R2 under IIS. Mails triggered by the application is able to send mails to outside domains. We are using domain as [mycompanyname.in]. The mails sent to inside our domain is not delivering.
ie, the SMTP relay server is able to send the mails to email ids such as user3465#gmail.com, but it is not able to deliver the message to email ids such as user3465#mycompanyname.in.
Any issue with .com & .in domains in SMTP relay server?
My Server is MS Server 2012 R2 patched uptodate.
Please help us resolve the issue.

Related

Hosting company will not allow Office 365 SMTP connection to send emails. What are possible solutions?

For our domain(mydomain.com) , we have an Office 365 account that takes care of emails and the website is hosted with a hosting company on a shared server. From my shared server Laravel App I was sending emails using the office 365 SMTP server. The hosting company now blocks this connection to office 365 SMTP server:
"Please note that your account is hosted on a shared server where outgoing SMTP connections are restricted. This is to protect the reputation of the server IP address and prevent potential spamming.
You canconsider upgrading to a cloud server plan"
I do not wish to upgrade to a cloud server plan, are there any other options for an SMTP server ? , that my Laravel app could use ? I have a reseller account with many cpanel accounts on the shared server. So i could use another one of my domains smtp server but I need the emails sent out to be from an office 365 email address. So contact#mydomain.com. Possible solutions ?
If you are sending emails, its actually not recommended to use the SMTP server used by your normal email provider (e.g. Office 365, GMail).
Instead you should use a transactional email service, which is designed for sending a large number of emails programically.
See:
Sendgrid
Amazon SES
If you are unable to send emails using a particular port (which seems to be your issue), feel free to send emails user their respective API's:
Sendgird:
https://sendgrid.com/docs/for-developers/sending-email/api-getting-started/
and https://sendgrid.com/docs/api-reference/
Amazon SES: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-api.html
This will still use the usual HTTP ports, and use different ip's, therefore bypass any port & ip restrictions when sending emails.

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.

What is the default email server for Teamcity 7.1?

Without any changes, email notifications stopped being sent from our continuous integration server which is a Teamcity 7.1 server. Up to now I've just used the default teamcity email configuration, which was this:
SMTP host: mail
SMTP port: 25
Send email messages from: Teamcity
SMTP login: <blank>
SMTP password: <blank>
Secure connection: none
Worked fine for last year or so. Now I'm trying to diagnose what is wrong, but I don't really know what the above configuration is doing... Is it pointing to a built-in mail server that is bundled with Teamcity? Is it pointing to the company's exchange server? Something else?
Teamcity does not have any bundled mail servers. This configuration point to your company's SMTP server. By occasion, SMTP server's name is 'mail'. So TC tries to connect to mail:25 and send messages 'from' 'Teamcity'
Please check if SMTP server's authentication settings were modified (e.g., anonymous access is now forbidden). Also please check 'teamcity-server.log' for error messages related to sending notifications.

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]

Windows server 2008 SMTP service using for website

I am working on .net applicaton that need to send emails to clients. I am trying to figure out what would be that best solution to send emails. Here is what i have considered. Could you please suggest what would be the best way to go for?
1>Windows server 2008 in built smtp
service.
2>Exchange server hosted in our
datacenter.
3>Use google apps for sending
emails(Basically same as gmail like
for custom domain).
I have explored all options and below are findings.
1>I think would be way to go. Also
supports drop in directory to send
emails so can achieve disconnected
email activity.
2>Application would be tied up with
availability of exchange server and
we dont have any exchange server
support personal. Only developers
poke around in exchange server and
got it working. So if option 1 is as
good as 2 then would like to go with 1.
Is there any drop in directory feature in exchange server like 1?
3>Tried gmail smtp stuff didnt
work. I was receiving timeout error.
Also there is no guarantee that
gmail will send our mail
reliability. They can decide anytime
to stop sending our mails as we are
using free standard version of
google apps.
Other questions:
I installed smtp service in windows server 2008. Now to use this do i need to change any MX record and anything? What i need to do so it can send email using my domain name. Or it can send email for any domain?
I would use a hybrid of 1 and 2. Use local SMTP, but have it relay to your exchange server. Emails will queue if it can't relay to exchange and you have one server(s) that handle all of your outgoing/incoming mail. This support doc explains this setup: http://support.microsoft.com/kb/303734
You only need an MX record if you'll be receiving mail from that domain too.
I would also put in a reverse DNS entry for your domain, which will help with spam detection.

Resources