SQL Database Mail- status sent but never receiving email on Microsoft email - c#

I have a problem with Database Mail on SQL Server Enterprise (64-bit), Windows Server Standard 2016. If anyone who can help, I would very appreciate.
The problem is:
I moved my Data to a new server (using 1and1 server). I am using 1and1 email (ionos.co.uk) to setup Database Mail and I can send email from Database Mail to any email provider except hotmail, outlook mail. the status on sysmail_allitems is "sent"
I did setup the same way for my old server, it was working fine.
I don't know why only hotmail, Outlook mail can not receive my email.
Server: smtp.ionos.co.uk
Port: 587
I also opened all the security port for mail on firewall network and firewall server.
Thank you very much.

UPDATE: As of yesterday January 26th, 2021 according to Ionos/1and1's posted notice, and corroborated by my personal email sending experience having been remedied, the issue has, indeed, been resolved.
There is actually a huge issue going on as of a few days ago specifically between Ionos/1and1 & Microsoft (i.e. Hotmail, Outlook) preventing emails from being sent. Here's Ionos/1and1's status update page on the issue:
https://www.ionos-status.com/
And you can also see another thread talking about other users experiencing the same problem here:
https://answers.microsoft.com/en-us/msoffice/forum/all/messages-not-being-delivered/e24bf21b-01f7-4ef4-bfbf-b24bea75aad0
It's possible, that a very recent hack involving Microsoft and an Ionos-based server might just be involved with Microsoft employing mitigating methods of addressing the issue which are now leading to the current email sending limitations. You can read about the hack here: https://amp.thehackernews.com/thn/2021/01/hackers-accidentally-expose-passwords.html

Related

how to know the different status of sended email in c#

I am Creating an application in c# . I have to know how can I know the status of the sended email.The status May be.
4. Track sent emails to determine if they were:
4.1 delivered
4.2 opened
4.3 recipient opt-out
4.4 bounced (with the reason for the bounce)
4.5 time/date sent
4.6 which links in the email were clicked (and time/date they were clicked)
4.7 IP address, if user clicked any links in the email
Should I use Any API or Dll or something else.Please help .Any Help will be Appreciated.
If you program your application to send mail through a hosted SMTP server like http://www.sendgrid.com or http://www.ultrasmtp.com, you can access the delivery status of messages that you've sent.
There is no easy way to do what you want. Actually this status can be tracked by your SMTP server itself and if you are using some third-party SMTP server like GMail or any corporate server, I 'm afraid they won't give you access to those information without using a authenticated client.
From your C# program, if the SmtpClient.Send() method returns true, you can assume the mail has been delivered to the SMTP server. If in case, the delivary fails, you should receive a mail to the outbound mail ID's inbox. If you want to make outbound mails appear in your outbox, you should configure IMAP/POP3 configurations accordingly.
There is no API or DLL available in exact form you want, as far as I know. You can try some other way like tracking a hash or embedded image in the mail-body from your server. But these are not reliable way as most mordern Messaging services have counter-measures for this.

How to Detect Email Bounces with IIS 6 with C#

Just as the question says.
I am using IIS 6 to send emails out from my Windows Server with C#. I want to detect bounces with C# from the SMTP email server. Right now, all the bounces get sent to a Gmail account. I could just check and parse each email in that account, but I was wondering if there is any easier way like hooking up a windows service or something to the IIS 6 SMTP server.
Help?
Thanks!
I know little about the IIS6 SMTP server, but based on what I know about SMTP in general, I doubt you're going to have much luck. Your message to joe#foo.com gets forwarded from server to server until it ends up at the foo.com SMTP server, which then responds to the reply-to address that the "joe" mailbox doesn't exist. That server may have no direct contact with your SMTP server at all.
As a result, there's no opportunity for the IIS6 SMTP server to receive any information about the bounced message. I think your existing idea of polling the inbox for the reply-to address is probably going to be your best bet.

Mail from server going to junk folder

I am working on an ASP.NET website. I have a page where I'm sending mail. Here the user adds the recipient; the sender is his own id. When I run this application on my location machine the mail properly comes in my inbox but as I paste that page on the server and try mailing the mail comes in Junk folder.
Can somebody please help me out?
Check if your Sever IP is added in Relay list of SMTP server.
This doesn't sound like it has anything to do with code and more about setting your SMTP servers up properly in the realm of DNS and/or discussing it with your hosting provider. According to your post, your ability to send mail is not the issue - its more about how the receiving agent treats your email (tags it according to some rule, etc.). The only difference being "who" sends the email (your local machine, vs your server).
There are Postmaster resources - this one from everyone's favorite- AOL that you may find useful. You can also check with DNS blacklists if your server's IP is (unfortunately) listed.

Sending Email-SMTP Problem-C#.NET

I am struggling with this problem from yesterday.
What I have done so far?
I have used the code to send an email using local smtp server. Code is(C#.Net) Here.
I can telnet the localhost on port 25.
When I telnet: "220 DomainName Microsoft6 ESMTP Mail Service, Version 6.0.3790.3959 Ready at Date Time "
When I try to send the email, there are no errors in the code and code gets executed successfully without any error.
Errors:
When I check in the eventviewer, the error is : Message Delivery to Host 74.125.159.27 failed while delivering to the remote domain gmail.com for the following reason. The remote server did not respond to a connection attempt.
I know there is error in my SMTP Server Setup, I have not set it up properly. How do I Trouble shoot it.
I have downloaded a smtpdiag.exe from microsoft but, It doesn't do anything when clicking on .exe file loads up and disappears.
Resolutions Please?
Please help me how do I troubleshoot it. If you need more information please ask me, I will provide but try to help me
Thank you.
You are sending emails through IIS SMTP Server right?
And you are sending to your gmail address?
How OFTEN do you send them? Google as a kind of spam protection that fakes that the servers is not responding if an IP address tries to send too many emails at once.
There is a thread here at SO about it. But I can't seem to find it.

Send mail from C# application not really working?

I have an email application where a user can fill out a form and the info get's mail to the form admin. I have the correct server and email credentials being set and i do not get any errors when the mail is sent. The To and From addresses are the same (admin#thedomain.com) It is like the mail is somewhere in limbo. I know the email account works, because I send mail to it from outlook. Any thoughts?
update:
Regarding code, I have created an abstraction to the System.Net.Mail.SmtpClient class. I can set another server and the code works. The server that does work is within my host’s network. The server that does not work is outside of the network. Strange thing is, like I said, I can setup the account in OutLook and I can send / receive mail fine. I’ll have to check with my vendor to see if the mail is indeed getting to their server.
My guess is permissions. Can your app send an email to your address?
I believe .net's system.web.mail sends email via relay. You need to check with your email admin to determine if your IP address is allowed on the server to relay mail.
It turned out to be a DNS issue with my hosting company. I could send mail via outlook becuase I was direclty connecting to the mail servers. The MX records were screwed up. Thanks to all who looked

Categories

Resources