Link In HTML E-mail Does Not Work In Hotmail?

Aug 30, 2010

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:

http://www.mydomain.com/mail/InboxLight.aspx/404.aspx?msg=The%20file%20'/mail/InboxLight.aspx'%20does%20not%20exist

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

View 1 Replies


Similar Messages:

Html - Pre-populate Form From E-mail Link?

Feb 10, 2011

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.

View 1 Replies

Get Contact List From Gmail / Hotmail / Yahoo Mail?

Feb 8, 2010

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.

View 9 Replies

How To Send A Clickable Link Which Works In Outlook And Hotmail

Dec 29, 2010

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 also tried with:

mm.Body = "http://www.mywebsite.org/mypage.aspx" & chr(9) & chr(13) & "greetings"
mm.IsBodyHtml = False

but then, i get no clickable link in Outlook.

How can i send a clickable link which works with Outlook and Hotmail?

View 5 Replies

Autocomplete In Hotmail (address To), How To Work

Jan 11, 2011

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.

View 1 Replies

Mail Notification Mail Body With Html Format

Jul 26, 2010

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;

View 3 Replies

Send A Mail To A User With A Link?

Sep 22, 2010

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?

View 1 Replies

.net - Open Default Mail Client With A Link?

Feb 14, 2011

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.

How to stop it?

<a href="#"
onclick="window.open('mailto:reddy@yahoo.com?Subject=upport','','200','200');"
style="color: White">Contact Support</a>

View 3 Replies

Web Forms :: Should Go To Login Form After Clicking Link In Mail

Jan 6, 2010

I am sending a mail, in this Emailbody see the code below

Emailbody += "<td nowrap=nowrap><a href=http://pms.winrock.org.in/SubContractFin.aspx?id=" + lblSubConNo.Text + "><strong>Click Here</strong></a></td>";

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.

View 21 Replies

Html.ActionLink() Gives An Empty Link When Use It Inside Html.RenderAction()?

Feb 18, 2010

I have a Microsoft MVC project with an action "Foo" whose view ("Foo.aspx") contains the lines:

<%= Html.ActionLink("mylinktext1", "bar") %>
<%= Html.ActionLink<MyController>(x => x.Bar(), "mylinktext2") %>

When I hit this from a web browser or load it from an AJAX call, it properly returns:

<a href="/bar">mylinktext1</a>
<a href="/Bar">mylinktext2</a>

But when I call the action from another view like this:

<% Html.RenderAction<MyController>(x => x.Foo()); %>

Then the links are rendered without targets.

<a href="">mylinktext1</a>
<a href="">mylinktext2</a>

Why would this be happening, and how do I work around it?

View 1 Replies

System.Net.Mail Work In One Part Of My C#.net Web App, But Not In Another?

Jun 8, 2010

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.

public static void sendEmail(String[] recipients, String sender, String subject, String body, String[] attachments)
{
MailMessage message;[code]....

View 1 Replies

Web Forms :: Sending Mail With SMTP Doesn't Work?

Feb 12, 2010

I've been quite looking all around for solutions about my problem but it seems nothing I've found actually works at the moment...

When my form is validated, I want to send an automatic mail using SMTP. I have tried using both System.Web.Mail and System.Net.Mail :/

MailMessage message = new MailMessage();

View 26 Replies

Architecture :: Make Application Work With Ms Word Mail Merge?

Nov 9, 2010

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.

View 3 Replies

Configuration :: System.Net.Mail.SmtpClient Credentials Don't Work With Exchange 2010

Aug 29, 2010

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.

View 2 Replies

Send Mail Using Html Tags?

Dec 6, 2010

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 )

View 3 Replies

How To Send Mail In Html Page

Dec 30, 2010

i am not understand how to write mail sending code in html page.

i have a html page , on that page some field which are send to admin via email .

View 2 Replies

Include CSS When Sending An Html E-mail?

Jan 19, 2011

I want to send HTML e-mails using smtpClient.

But from what I understand the e-mail's body being HTML but where do I put my css declarations? need they be inline as stributes of each element?

View 11 Replies

Create Tab Using Only Html And CSS To View In Outlook Mail?

Mar 14, 2011

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.

View 4 Replies

Email - Using Html Page As Mail Body?

Oct 11, 2010

I have an email template in a file called template.html, how can i use it as mail body in asp.net?

View 1 Replies

Can't Get Logout Link To Work

Apr 11, 2010

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:

Code:

[code]....

View 2 Replies

Link Button And JavaScript / Change A Standard HTML Input Button To A Link Button

Mar 1, 2011

I need to change a standard HTML Input button to a Link button but am running into problems because the existing

code calls a javascript function. The function basically does the same as the browser back button. When I add the code and

set the property runat="server" I get a "CS1026: ) expected".

Quite new to ASP,net (VS2010) so could be going about this the wrong way.

[Code]....

[Code]....

View 6 Replies

Web Forms :: How To Set Priority On Html Mail Insead Of Plain

Apr 9, 2010

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.

View 5 Replies

Web Forms :: Fill Html Form And Send Mail?

Feb 13, 2010

the members are occuring html form and adding one submit (id must btnPost) in fck editor. and saving.

visitors are visting to this page and filling this form and click btnPost.

I want to send mail this fill form .

but texts, selects, radios must be like fill form.

how can I this.

View 7 Replies

Web Forms :: How To Use Html In String Variable In System.net.mail

Dec 18, 2010

I have a task to send mail for updated values my code is below i cant able to set proper format for that

[Code]....

View 6 Replies

Send Mail Through JavaScript In HTML Page Secretly?

Nov 2, 2010

I am using a mailTo command.

On posting it displays Outlook Express on my computer.

But I want to send secretly, data to my email form client end.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved