I am building up a message body, is this the correct way to escape chars in doing so?
message.Body += "<FORM name='frmReferredEmail' action=\"thank_you_referred.aspx?email=\" + strEmailAddress + \"&remail=\" + strEmailAddressRecommended + \"&rpolicy=\" + strPolicyNumber + '\" method='get'>";
Is it possible when using System.Net.Mail to pass some variables to the email that can be manipulated and sent on from the email to for example another web page?
I've found an alternative way of doing this which seems to work :
message.IsBodyHtml = true;
StreamReader sr = new StreamReader(Server.MapPath("referred_email.html"));
string s = sr.ReadToEnd();
message.Body = s;
Would I be right doing something like this?
message.IsBodyHtml = true;
//Message body content
HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://www.contoso.com/");
//then read the response into a string with the httpWebResponse class...
I am trying to send out an email that is based upon an HTML page. Is it possible to read the HTML page into something like a StringReader and then set the Mail.Body equal to the StringReader? If it is, does anybody have any code samples?
I am trying to pass a parameter from a HTML page to an ASP page, but it doesn't work. Here is my HTML page :
<html>
<head/>
<body>
<FORM name="frmPost" action="test2.asp?user=<%=user%>" method="post">
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
</body>...
Hi,
The inboxes are stored on Exchange 5.5. What I need to do is to have an app with for example a dropdownlist where the user can select a login, and then view their unread emails in their inbox (possibly writing their inbox to a table where there is a delete option for each row for deleting...
Harley,
Thanks for the link, but I have already got this far with the app. What I am trying to find out is how I can actually get at DIFFERENT users inboxes (not the default), so I'm looking for some code examples where the logon is set and what syntax to use in this situation.
I need to write an application that can be used to read the contents of different users Outlook inboxes. I have not done any VB coding in a long time so I am struggling with it a bit...can anybody point me in the right direction, and perhaps provide some code samples?
Many thanks!
I am completely new to Exchange Server, I have been asked to write some code to link in with it. Can anybody tell me exactly what Exchange Server is and does, and how it links in with Outlook etc?
Many thanks!
Apologies, I am a complete Exchange newbie, but I need to be able to write some code to gain access to users inboxes...can anybody point me in the right direction or post some sample code?
Many thanks!
Thanks Geert...this means that I will have to create any new reports on my old machine which has VS 2003, but once created I can update all my reports on my new machine...it's not ideal, but at least it is possible ;)
I have just purchased a new laptop with Vista OS, and I have VS 2005
installed for all my development. What I want to know is, is it
possible to create Reporting Services 2000 reports in VS 2005? My web
host still only supports RS 2000, so since I am not planning to install
VS 2003, I need to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.