I send automated mails to hotmail users. (thank you for your registration bla bla)Because plain text doesn't look attractive enough, I use HTML with images. The images reside on a public webserver.
As SMTP server I use the SMTP part of IIS 7.5 (windows 2008 R2). I have an SPF record setup in the DNS. I have also read http://tinisles.blogspot.com/2009/09/sending-dkim-email-from-c.html and found out that sending mail with the SMTP service and a DKIM signature cannot be done properly without an external commercial component. So I do not have such thing (yet).
Now that is all about my background and here is the problem:I have this in my HTML:
<a href="http://www.mydomain.com">click here</a>
But when users get am e-mail like that and view it in hotmail. (chrome, IE, safari etc.) and when they hover the link they will see that the url is http://www.mydomain.com but when they click on it. It redirects to:
what am I doing wrong? Is it an SMTP/IIS server setting? Did I forget something in my Asp.Net C# code when I have send the mail? Did I forget something in the DNS or HTML markup? The link works perfectly when I receive the mail in my Outlook 2010 where the domain is also added to the safelist.
EDIT If it seems to be all related to the antispam stuff in hotmail. Should I consider to buy: http://www.youtube.com/watch?v=98oc_5bjjkc
I'm look for a way to pre-populate Asp.net form from E-mail Link. I tried several method such as:[URL]Our vendor is saying this should work but I'm having no luck with it. If someone can tell me what might be wrong with this or if there is another solution. This is being used for an e-mail campaign so that the user receiving the e-mail does not have to fill the form link is navigating to.
I want to get all contact list of email from Gmail, Yahoo or Hotmail in the ASP.NET and C#.
Instead of enter username and password on my page (and call the API for authentication), I am thinking to redirect to Gmail, Yahoo and Hotmail respectively for authentication (is it something called oAuth?) and authorization (consent) ?
It should redirect back to my page with all the contact list.
i need to send a clickable link to many people via mail using vb.net .
Dim smtp As New SmtpClient email = "emailaddress@xyz.org Dim mm As New MailMessage("test", email) mm.Subject = "test" mm.Body = "http://www.mywebsite.org/mypage.aspx" & "<br><br>" & "greetings" mm.IsBodyHtml = True smtp.Send(mm)
This code works perfectly when the mail is read with Outlook. People get a clickable link which brings them to the right page. But the same mail read in Hotmail (or any webmail site) provides a non-clickable link.
I specially has used hotmail and I like its autocomplete for To Address. It works very nice like it not only shows saved contacts but also suggests address on which I have sent email but they are not saved in contacts.
The most important thing is it is very fast. It is not ajaxtoolkit's automcplete what is this control.
how to add a html format in mail body message. here's my code:
MailMessage msg = new MailMessage("mail@[URL]", "tomail@[URL]", "Subject", "BODY MESSAGE WITH HTML FORMAT HERE...."); SmtpClient client = new SmtpClient("IPADD"); client.Send(msg); client.Timeout = 500; client.Credentials = CredentialCache.DefaultNetworkCredentials;
In my project i am sending a mail to the user to create a user account. I want to enable that link for the first time he/she clicks the link. if he clicks the link for more than 2 times,then it should go to custom error page.how to do this?
I have an HTML link on my ASP.NET page. When the user clicks the link, an Outlook window will open. However, it changes the URL on my page also to mailto:reddy@yahoo.com.
whernever user get thi mail there is a link (Click Here) in this mail which redirects to SubContractFin.aspx form with a query string id.
thorugh this query string I am doing somthing on SubContractFin.aspx form.Now I want that if a user click this link it should goes to my login.aspx form and after successful user login it goes to SubContractFin.aspx form with same query string id.So how I need change my email body code.
I have a web application that is running on IIS within my company's domain, and is being accessed via intranet. I have this application sending out email based on some user actions. For example, its a scheduling application in part, so if a task is completed, an email is sent out notifying other users of that.
The problem is, the email works flawlessly in some cases, and not at all in others. I have a login.aspx page which sends out report emails when the page is loaded (its loaded once a day via windows task scheduler) - this always seems to work perfectly. I have an update page which is supposed to send email when text is entered and the "Update" button is clicked - this operation will fail most of the time. Both of these tasks use the same static overloaded method I wrote to send email using System.Net.Mail.
I have tried using gmail as my smtp server (instead of our internal one), and get the same results. I investigated whether having the local SMTP Service running makes any difference, and it doesn't seem to. Besides, since C# is server-side code, shouldn't it only matter whats running on the server, and not the client?Below is my code to send email.
I am planning to create HR Management System using asp.net & sql server 2005. In this application we need to manage different kinds of Employee Documents like Offer letter,Salary certificate etc.. Now,What we need is we will store templates for these documents(ms word,excel) in the application and needs to genereate these documets corresponding to the selected employee like mail merge.
I run a Exchange 2010 server and created an account for one of my websites to send e-mails.
The webserver's IP is even listed on the [Organization Configuration] -> [Hub Transport] -> [Global Settings] -> [Transport Settings] -> [Message Delivery] list.
The code sets a set of Network Credentials, but setting incorrect or correct settings, it doesn't matter; if I list external e-mail addresses, I get a "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for <address>" message, 'local' addresses that are cc-ed, do get delivered...
When checking with telnet, I noticed that the only AUTH option was AUTH NTLM, but when checking the NetworkCredentails, it stated that NTLM should would.
develop one html website, but in this page i want to contact us page, in this page i fill all details and press send button , all fields data must be send unique mail( same like contact page .html )
I want to create an html file to send as an outlook mail in which i want to show 4-5 reports. In whicn if i click on first tab i can see report 1 and if i click on tab2, i can see the report 2 in same frame. I created same using javascript but that is not working in outlook mail. I tried CSS but I am able to view them using hover effect only not on onclick.
I can't get my logout link to work. Everytime I click the logout button, it appears that nothing happens. I have set the url to change, and that will work, but it will not log the user out. Is there another setting I am missing? Here is my login view:
I got a issue with sending mail. The mail itself is made with plain text & html, it goes away good and all. Now the problem is that some get it like plain some get it like html. Like I tried to send one to myself on hotmail, It looked great was the html, seconds later I open it on my phone the same email address and there was the plain one. Some get the plain when looking on a computer to.How can I set priority on the html text instead of the plain? or is there a way?
Second I issue is that I can not send email to some mail's like any address with .pl in it. What could this possibly be? I should say that I do use my own winserver2008 and use the localhost smtp on it.