One website on IIS server cannot connect to SMTP host - how to track what happened - email

I have an ASP website on an IIS server, yesterday I noticed that this certain website was unable to send out any emails as Dynumail (something we use for SMTP emails in code) could not connect to the SMTP host.
This issue was only happening with this website and not any of the others on the same server that also use Dynumail.
Is there a way to track how this might have happened? To resolve the issue I restarted the website through the IIS GUI.
Any help on tracking down (and preventing) this issue would be greatly appreciated!

Related

Emails are not received in Opencart 2.3

I am using Opencart 2.3.0.2 version. I am facing issue with receiving emails from the store. I did the setting from System > Setting > Mail.
I am not getting emails from contact form or for any new order placed in the store.
I tried with SMTP and set hostname as ssl://smtp.gmail.com but in this case, when I submit contact form I am getting error
Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)
I did search on this issue and found some solution on StackOverflow but none of them worked for me.
I tried simple mail function by creating a test page and that works for me.
I am trying to fix this issue from past 2 days but still didn't found any solution.
Help me to resolve this issue.
Thanks in advance.
It's a common problem that emails somehow don't end up in the inbox they are supposed to when sent from a web server and there are loads of possible explanations but here are 3:
Your server is blocking them on purpose, which can be configured in cPanel as described here: https://www.antropy.co.uk/blog/emails-not-arriving-using-smtp/
Your web server is thinking the destination inbox is on the server itself but you are using a remote mail service: https://www.antropy.co.uk/blog/contact-form-not-sending-email/
Your web server doesn't have very good deliverability and emails are ending up in the spam folder, so use a separate SMTP to send: https://www.antropy.co.uk/blog/how-to-stop-opencart-emails-going-to-spam-by-using-smtp/

TFS server 2015: Email alerts not working

TFS email alerts is not working for some reason. Any possible reasons ?
I think tfs 2015(VSO) doesn't need SMTP server settings and should directly work. I created simple requests, none are working. what's possibly can go wrong ?
simple alert request
more info: TFS server running on windows 2008 server
If you are using on-premise TFS server2015.
For feedback requests and alerts to work, you still need to configure an SMTP server for TFS.
Details steps from MSDN: Configure an SMTP server to support alerts
and feedback requests
Give a try after you finish the configuration to see if it works.
My setting

The links in the Bluemix confirmation email do not work

I signed up for the Bluemix trial, received the confirmation email, but both links in the email end up at this URL: https://idaas.ng.bluemix.net/idaas/public/tamlogin.jsp which never responds. Eventually the browser timesout with this message: The server at www-947.ibm.com is taking too long to respond.
This has been consistent for the past 2 weeks. Anyone seen this and know what the problem might be?
Can you please try to access Bluemix without VPN connection? I believe your issue is related to VPN client. If connecting to Bluemix without VPN works, please upgrade your VPN client to latest version and try to connect to Bluemix with VPN connection.

How to configure an Internet mail server to use with IIS website

I am looking for a little direction to my problem. Short story, I have a website hosted on a web server. I pay a yearly subscription. This year I am planning on taking it off and hosting it internally. I already backed up, restored, and installed all necessary components (on Windows BTW with IIS, PHP, and MySQL). The site works great internal and by IP address externally through a firewall. (IP address for now until my web host subscription expires, then I will forward and register DNS).
But now this is my problem, my website has email functionality which works on my providers server. I want to install a local mail server for my website that will wind up sending and receiving emails through my website. I am lost here. No sure which path I should take. I have installed and used Exchange 2003 in the past just for internal domains, nothing for internet AND internet.
Anyone with ideas, links, suggestions? I see that IIS does support SMTP virtual servers, is this a possible route? If so, what about POP3 or IMAP (incoming) server solutions?
Thanks
Edit
---Update On Situation---
So far I have configured a local exchange server that works with my local webserver. I then created a CNAME in my web host DNS zone for my IP address. I created a simple subdomain for my site redirected to my home web server. Everything works great, internal email through Exchange 2003 from website on IIS, redirected DNS names, almost there. Now I just need to create Internet Mail functionality in Exchange. Went through the Exchanges wizard to "open system" for Internet mail, created new SMTP connector and ....nothing for external mail test. Failed! Thought everything was configured properly. I also tried to open all ports on firewall, 25 and 110.
I'd recommend using something like PostMarkApp to send transactional email from the website, and use hosted email (Google Apps for Domains) for your email. Its a pain to run a real mail server.
Link to Exchange Internet mail SMTP connector configuration:
Configure Exchange Internet Mail SMTP Connector
Well, I did figure it out. I was on the right path and everything was working but I just configured my client wrong and my ISp blocked port 25, duh. CHanged port to unused 366. But here is a little tip for anyone that may need to figure this out in the future.
1)Setup install IIS with default SMTP and NNTP virtual servers.
2)Install Exchange into organization. Internal naming convention doesn't really make a difference between internal to externally if you are behind a firewall. Basically this means you don't have to create a seperate zone in DNS if using this for a seperate domain hosted elsewhere. Hope this didn't confuse anyone.
3)Right click on server name in Exchange System Manager and go to Internet Mail Wizard
4)If you want your clients to hold a different domain email address than your internal you can setup in exchange through
Exchange System Manager >> Recipients >> Recipient Policies
Then add a Masquerade in Default SMTP Virtual Server
5)Have a gmail Internet SMTP connector set to smtp.gmail.com as smart host with a gmail email account settings and TLS checked
6)Default SMTP VS set with outbound port 587 and TLS checked
If you need to change SMTP ports too, don't forget to change not just firewall but also inside Exchange.

Wordpress - Contact Form 7 Not Sending to Certain Email

I am using Contact Form 7 with Wordpress, but I am experiencing an email compatibility issue.
I have the form setup to email to email#domain.ca, domain.ca being the domain of the website hosting the site. The email address exists and works great, however the Contact Form keeps failing on send.
If I change the email address to any of my Gmail or other accounts, it works fine.
I am looking for ideas or suggestions as to how I might debug this. Is it because the site is hosted on a shared hosting server but the mail server is in-house at the physical location?
Any ideas would be great.
Ended up being an MX Entry problem with the shared host.
I had to set the MX Entry to send mail to an external host instead of the internal mail servers (it didn't realize the mail server was external).
Problem solved and all is well.
EDIT: We have run into this issue multiple times now with the hosting.
Essentially, cPanel gives you an option to say that mail servers are external, but it often fails to deliver on actually making the change. We have to remove the mail servers and hardcode the external one in order to make it work properly and consistently.
Might be php or smtp mail restrictions at your hosting service. Try http://wordpress.org/extend/plugins/wp-mail-smtp/