In Progress

Update website in .NET using C#

Have a project and the data is being submitted as it should. However I would like the variables sent to me via an email along with the order that is being placed. I want to be able to see these variables for testing purposes. Here is the code and I have only included the information that needs sent and changed login, etc for identity protection.

postData += "&Order=" + [url removed, login to view];

postData += "&order[reference]=" + [url removed, login to view];

postData += "&order[placed_on]=" + [url removed, login to view]();

postData += "&Name=" + DBHash(RemoveSpecialCharacters([url removed, login to view]()) + " " + RemoveSpecialCharacters([url removed, login to view]()));

postData += "&Phone=" + DBHash(RemoveSpecialCharacters([url removed, login to view]));

postData += "&Email=" + DBHash([url removed, login to view]());

postData += "&CC-Zip=" + DBHash([url removed, login to view]([url removed, login to view] - 4) + " " + [url removed, login to view]);

var data = [url removed, login to view](postData);

[url removed, login to view] = "POST";

[url removed, login to view] = "application/x-www-form-urlencoded";

[url removed, login to view] = [url removed, login to view];

using (var stream = [url removed, login to view]())

{

[url removed, login to view](data, 0, [url removed, login to view]);

}

var response = (HttpWebResponse)[url removed, login to view]();

var responseString = new StreamReader([url removed, login to view]()).ReadToEnd();

String msg = "Order number #" + [url removed, login to view] + "<br/>";

//msg += "Customer Phone Number: " + [url removed, login to view];

MailMessage mail = new MailMessage();

[url removed, login to view] = new MailAddress("[url removed, login to view]<[url removed, login to view]>");

[url removed, login to view]("[url removed, login to view]");

[url removed, login to view] = "You Have a New Order";

[url removed, login to view] = msg;

[url removed, login to view] = true;

SmtpClient smtp = new SmtpClient("[url removed, login to view]");

[url removed, login to view] = 587;

//IMPORANT: Your smtp login email MUST be same as your FROM address.

NetworkCredential Credentials = new NetworkCredential("[url removed, login to view]", "XXXXXX");

[url removed, login to view] = Credentials;

[url removed, login to view] = true;

[url removed, login to view](mail);

Skills: .NET, C Programming

See more: build website using net, net website update system, website design using net, php net website conversion

About the Employer:
( 58 reviews ) Chesterfield, United States

Project ID: #12017659

Awarded to:

sumon355

Hello, As an expert in .Net, i am very much interested to do this work. What i understand that you have all the data already ready in the application, just need to send them to email, am i correct? Looking forward to More

$56 USD in 2 days
(111 Reviews)
6.4

8 freelancers are bidding on average $149 for this job

AwaisChaudhry

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I wouldn't call myself a master but I do work smart and do not rest until I get the job done. Please feel free to ping me an More

$155 USD in 3 days
(8 Reviews)
5.8
itpathsolutions

From here you can check my Microsoft Certificates: MCPD: [url removed, login to view] MCP: [url removed, login to view] MS: [url removed, login to view] More

$242 USD in 3 days
(17 Reviews)
5.5
$155 USD in 3 days
(20 Reviews)
4.4
Jorgen888

hi, I'm senior developer with more then 8 years of experience of delivering solutions enterprise level. Also worked on small solutions. Last 5 years working mostly using .NET, C# and SQL. Also have a great experience i More

$58 USD in 0 days
(1 Review)
2.7
piyushkhatri

Hello, INDIA IT TECH is a web development company with 10+ years of experience in providing web solutions. We are basically in INDIA and providing services to all over world. We have a smart eye for perfection be More

$222 USD in 10 days
(1 Review)
0.9
globalbwsindia2

We have 1000+ employees in our company. So we can do all kind of IT project in any languages and all stream. We have 3 years+ experience employees for all streams especially C PROGRAMMING, C++,C#, , HTML,HTML5,WORDPRE More

$144 USD in 2 days
(0 Reviews)
0.0
darkeight

Hello I have over 5 years experience in the web development market and for large corporations like ABinbev, among others, I believe I have the skills needed to help you, and have microsft certification

$250 USD in 3 days
(0 Reviews)
0.0
ArnoHanekom1

I have more than 10 years practical development experience in various different languages. I am a quick worker and a fast learner.

$111 USD in 1 day
(0 Reviews)
0.0
mhernandez66

Hi, you'll get fast results from me. My speed is your savings, I've been coding in .net for the last 12 years. I have a current subscription to msdn and fully up to date on modern systems js frameworks, linq etc. my ms More

$100 USD in 2 days
(0 Reviews)
0.0