В работе

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);

Навыки: .NET, Программирование на С

Показать больше: build website using net, net website update system, website design using net, php net website conversion

О работодателе:
( 58 отзыв(-а, -ов) ) Chesterfield, United States

ID проекта: #12017659

Поручено:

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 Больше

$56 USD за 2 дней(-я)
(111 отзывов(-а) )
6.4

8 фрилансеров(-а) подали заявки на эту работу; средняя заявка - $149

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 Больше

$155 USD за 3 дней(-я)
(8 отзывов(-а))
5.8
itpathsolutions

From here you can check my Microsoft Certificates: MCPD: http://www.mycertprofile.com/Profile/9030981272/89/1477/share MCP: http://www.mycertprofile.com/Profile/9030981272/12/1519/share MS: http://www.mycertprofil Больше

$242 USD за 3 дней(-я)
(17 отзывов(-а))
5.5
$155 USD за 3 дней(-я)
(20 отзывов(-а))
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 Больше

$58 USD за 0 дней(-я)
(1 отзыв)
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 Больше

$222 USD за 10 дней(-я)
(1 отзыв)
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 Больше

$144 USD за 2 дней(-я)
(0 отзывов(-а))
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 за 3 дней(-я)
(0 отзывов(-а))
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 за 1 день
(0 отзывов(-а))
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 Больше

$100 USD за 2 дней(-я)
(0 отзывов(-а))
0.0