Tamamlanmış

258550 PHP to ASP code

I have a Flash movie that has an embedded "email a friend" function. When a user completes the form to "email a friend", it uses a php script to actually send the email to the friend and also copy a 3rd party: Below is the current php code used:

(I had to change the email at symbol to the word "at" in this posting.)

<?

// This defines the variables

$email1 = $_POST["email1"];

$email2 = $_POST["email2"];

$msg = $_POST["msg"];

$toMail = "info(at)[url removed, login to view]";

$Subject = "Business Shorts Solutions Movie";

$Message = "$email2 would like to you to view this 3-minute movie about Business Shorts Solutions\n\n$msg\n\nYou can view the movie by clicking on the following link: [url removed, login to view]";

// This line sends the email

mail("$toMail", $Subject, $Message, "From: $email1");

mail("$email1", $Subject, $Message, "From: $email1");

// This next line returns a success message to the movie.

print "Status=Your email has been sent!";

?>

Here my pretty urgent need: The hosting environment for the flash movie will not be running PHP so I need a ASP version of this script.

I have done this before with a simple info request form… as you can see below – maybe it will help you think through it.

HERE IS A SAMPLE FROM A SIMILAR FORM IN THE PAST:

PHP:

<?php

$sendTo = "info(at)[url removed, login to view]";

$subject = "Contact Form";

$message = "Name : " . $_POST["name1"] . "\nCompany name : " . $_POST["company1"] . "\nEmail : " . $_POST["email1"];

mail($sendTo, $subject, $message, "From: Business Shorts");

?>

ASP VERSION of SAME SCRIPT:

<%

Set myMail=CreateObject("[url removed, login to view]")

myMail.Subject="Business Short Lead"

myMail.From="info (at)[url removed, login to view]"

myMail.To="info (at)[url removed, login to view]"

myMail.TextBody="Prospect Name: " & request("name1") & VBCRLF & "Company: " & request("company1") & VBCRLF & VBCRLF & "Email Address: " & request("email1")

[url removed, login to view] _

("[url removed, login to view]")=2

'Name or IP of remote SMTP server

[url removed, login to view] _

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

="111.11.1.1"

'Server port

[url removed, login to view] _

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

=25

[url removed, login to view]

[url removed, login to view]

set myMail=nothing

%>

I realize the swf will need to call the asp version of the script (instead of the php) and I can take care of that.

Please let me know if you can do this and if you are interested as soon as possible.

Beceriler: Adobe Flash, Her şey Kabul, ASP, PHP

Daha fazlasını gör: subject php, smtp contact form php, php mail help, php code contact, info business solutions, i need asp email, code line, code 5, business contact solutions, php symbol, asp company, urgent need php, urgent care, sample code, running shorts, php to c, movie hosting, microsoft configuration, copy code, asp send mail smtp, php code sample code, send friend request php, update status script php, status code, update status code

İşveren Hakkında:
( 6 değerlendirme )

Proje NO: #2004820

Seçilen:

usuf001

hi, plz check [login to view URL] you

%selectedBids___i_period_sub_7% gün içinde 40%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(369 Değerlendirme)
6.2