Update website in .NET using C#

Completado

Descripción

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

Habilidades: .NET, Programación en C

Ver más: real estate website using net, sending email using net source code, integrate login facebook twitter website using net, update records salesforce using net, integrate credit card payment website using net, build website using net, design basic website using net, write scrap asp net website, net website update system, website design using net, write assembly code reads number string converts integer, email list outlook using net 2005, developing electronic signature software using net, playing mp3s using net compact framework, read xml file using net insert sql server, crystal report parameter screen using net, php net website conversion

ID de proyecto: #12017659

Adjudicado a:

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 Más

$56 USD en 2 días
(111 comentarios)
6.4