Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

ASP PHP ASPSmartMail JMail ASPEMail I'm feeling so low

This is my web site twinproduction.com

SMTP mail.twinproduction.com

I need help
I don't know any thing about asp php backend
I just switched my server from Unix to windows 2003
and my host don't support any form script
Below is my front end html form
My host did installed following on server

I did look in to jMail ASPEmail Docs but NO comprado
To-day is dragging
dum dum dum dum dum dum dum
never reaching the end
dum dum dum dum dum dum dum
I could drink plain coffee, but
it's no good to pretend

Once my life shined
dum dum dum dum dum dum dum
only hours ago
dum dum dum dum dum dum dum
I had my espresso
now I'm feeling so low

I will miss you ASP PHP ect...

my dear script



(Flying Sheet Top of My Head )

ASPSmartMail
ASPEMail (unregistered)
JMail


ASPSmartUpload
ASPUpload (custom)

ASPCrypt

Microsoft(R) Windows(R) Server 2003, Standard Edition
Ver 12.22 Distrib 4.0.17, for Win95/Win98 (i32)

perl, v5.8.2
PHP 4.3.4
------------------------------------------------------------------------

All I need is working script and detail instruction how to and where to put on server (upload)

Please I need help badly

I need all my email come to pop3 outlook
twin@twinproduction.com; support@twinproduction.com

Here is test from I try to play with but no luck

http://www.twinproduction.com/e.html

when I submit i get
aspSmartMail : Sample 3
--------------------------------------------------------------------------------
Error n° 30 = Error when check Sender address : 501 Syntax error in parameters or arguments

PLLLLLLLLLLLLLLLLLLLLLLLEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSS HELP  :(





Here is my HTML Front end file

<form action="??????????" method=post>
<input type=hidden name=recipient value=twin@twinproduction.com>
<input type=hidden name=Submit value=Submit>
<input type=hidden name=redirect value=http://www.twinproduction.com/tp/thanks_b_2.html>


<table width=100% bordercolor=#CCCCFF border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Email Address&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=email2 size=30 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>First Name&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=first size=30 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Last Name&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=last size=30 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Address&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<textarea name="address" cols="30" rows="3" class=form></textarea>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>City&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=city2 size=20 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>State&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=state2 size=4 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Zip&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=zip2 size=10 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Country&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=country size=10 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Phone #&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=ph_num size=20 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Cell #&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=fax size=20 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=Verdana size=1>Occasion</font><font face=verdana size=1>&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input type=text name=Occasion size=20 class=form>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=Verdana size=1>Date of Occasion</font><font face=verdana size=1>&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<input name="Date" type="text" class="form" value="" size="20">
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>How did you&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
hear about us?&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<textarea name="info" cols="30" rows="3" wrap="VIRTUAL" class=form></textarea>
</td>
</tr>
<tr>
<td width=30%>
<div align="right"><font face=verdana size=1>Comments&nbsp;&nbsp;</font></div>
</td>
<td width=70%>
<textarea name="comments" cols="30" rows="5" wrap="VIRTUAL" class=form></textarea>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="45" valign="bottom"><div align="center">
<input name="SUBMIT" type="image" value=Submit src="/tp/images/submit.gif" width="51" height="16" border="0">
</div></td>
</tr>
</table>
<div align="center">&nbsp;&nbsp;&nbsp;
<input type="hidden" name="subject" value="Twin production Information Requested ALART">

</div>
</form>
0
Sanjiv Rajiv
Asked:
Sanjiv Rajiv
  • 5
  • 3
1 Solution
 
fritz_the_blankCommented:
If you are running Windows 2003, you should be able to use CDO to send a message. Here is a simple script to try to see if it works:

<%
Dim objMail
Set objMail = Server.CreateObject("CDO.Message")
With objMail
      ' Set message attributes
      .To       =  "You <you@YourAddress.com>"
      .From     = "You <you@YourAddress.com>"      .Subject  = "CDO Sample"
      .TextBody = "This is a test email using CDO"

      ' Attachment using known static physical path
      '.AddAttachment "c:\somepath\somefile.txt"
      
      .Send
End With

Set objMail = Nothing
%>
0
 
Sanjiv RajivAuthor Commented:
fritz_the_blank,

Man I could find this doing search in EXP-EXC

I need to know how this will work
is it asp html or what not
I am totaly new and I don't have guts to understand
Like I said take my form and make change to it

somting like this I need

 form.html code below-----------------------------------------------


BlaBLABLABALBALBALBALB




End

----------------------------------------------------------------------
ASP or PHP code   xyz.asp    or whatever
BALBABLABALBLABALB


END

-------------------------------------------------------------------------








0
 
fritz_the_blankCommented:
Sorry, I didn't mean to waste your time. Are you looking for help to learn how to do this or for someone to code this for you?

Fritz the Blank
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Sanjiv RajivAuthor Commented:
someone to code this for me
0
 
fritz_the_blankCommented:
I see.

This site is largely geared towards helping folks overcome technical issues, learning new techniques and etc. and much less towards being a coding service.

Let's keep this question open for a while to see if someone is up for writing the code for you. If I find the spare time, I'll try to give it a shot. Otherwise, you might want to hire someone on a freelance basis to code this for you.

Best of luck,

Fritz the Blank
0
 
Sanjiv RajivAuthor Commented:
Fritz the Blank

hire someone on a freelance basis to code this for you

Why not you let me know

0
 
fritz_the_blankCommented:
Sure. Please send me an email--the address is listed in my profile.

FtB
0
 
fritz_the_blankCommented:
Okay, it looks like your webhost is using smart mail. Here is the necessary code:

 <%
dim strBodyText
strBodyText = ""
for each objField in Request.Form
      strBodyText = strBodyText &  objField & VbCrLf & request.form(objField) & VbCrLf & VbCrLf
next

Dim mySmartMail
Set mySmartMail=Server.CreateObject("aspSmartMail.SmartMail")
mySmartMail.Server="###.#.#.#"
mySmartMail.SenderAddress=Request.Form("strEmail")
mySmartMail.Recipients.Add "You@YourAddress.com"
mySmartMail.Subject="Your subject line here"
mySmartMail.Body= strBodyText
mySmartMail.SendMail

if Err.Number<>0 then
      Response.write "Error: " & Err.description
end if

set mySmartMail = nothing
%>

Fritz the Blank
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now