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 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>...
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!
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...
I am trying to populate a data table with a collection of Outlook mail objects, but I keep getting the error 'cannot apply indexing to an expression of type object'. Can anybody help me out?
DataTable dt = new DataTable();
DataRow dr...
I have a collection of objects (oItems) that I want to use to populate a dataset. Basically I want to take several elements from oItems (such as SenderName, Subject and Body) and use them to populate separate columns of a dataset, and then use the dataset to populate a gridview.
Can anybody...
I am trying to get at different users inboxes programmatically (see code below). It works fine, except for the fact that the logon line seems to always logon to my local account rather than logging on to other accounts on the network. Anybody know how to logon to other people's accounts using...
I have just purchased a new laptop with Home Premium as the OS. I assumed that if I purchased the Ultimate upgrade I would receive an upgrade disc. However, all I have received is a product key and documentation that says that I need to get a Windows Anytime Upgrade disc to upgrade my machine...
I've heard rumours that VS 2003 is not supported by Vista, is this correct? I have just purchased a new laptop with Vista OS, does this mean I cannot work on any of my VS 2003 projects on it?
What is the maximum cell length in Excel 2000? I am writing a large text field to Excel and it seems to break it up into different cells after about 400 characters and then breaks everything beyond that into a separate cell for each sentence.
I am opening a recordset and using it to populate a table, but I keep getting the error :
'The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS...
How do you create an index on a view? I don't have experience of creating indexes on tables or views, and I am trying to create an index on a view but I am getting the error cannot create index because the view is not schema bound'...can anybody help?
I am getting the error The 'IListSource does not contain any data sources' on the DataBind line in my code below. I have stepped through and there are records in the data reader...in fact this code has been working for over a year and has just now starting to give this error. Can anybody help...
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.