The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > Web Programming > ASP / ASP.NET


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags:

Closed Thread
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 06-10-2007, 04:49 PM
» ---> @
Posts: n/a
[SOLVED] Can someone add in the programming needed to fix my ASP mailer?

I'm using CDOSYS (CDO.Message). The mailer worked perfectly well on the other server, but now that I've switched servers, it's telling me that my SendUsing value is invalid. I don't know anything about setting up configuration. The website is www.cliqimaging.com, the Ip Address is 64.68.234.20. I don't even know the difference between the different sendusing values. Here's the programming:

<%
Option Explicit

Dim strBody, objMail
Dim sMsg
Dim sTo
Dim sFrom
Dim sSubject
Dim sTextBody

sFrom = "contact@cliqimaging.com"
sTo = "jbromwell@contactimaging.com"
sSubject = "Online Contact Request from CliqImaging.com Website"
sTextBody = strBody

strBody = "Request recieved at: " & Now() & vbCrLf & vbCrLf
strBody = strBody & "Name: " & Request("namef") & vbCrLf
strBody = strBody & "Address: " & Request("addressf") & vbCrLf
strBody = strBody & "City: " & Request("cityf") & vbCrLf
strBody = strBody & "State: " & Request("statef") & vbCrLf
strBody = strBody & "Zip: " & Request("zipcodef") & vbCrLf
strBody = strBody & "Daytime Phone: " & Request("dayphonef") & vbCrLf
strBody = strBody & "Evening Phone: " & Request("altphonef") & vbCrLf
strBody = strBody & "E-Mail Address: " & Request("emailf") & vbCrLf
strBody = strBody & "Service Interested In: " & Request("messagef") & vbCrLf

' Create an instance of the mail object and set its properties.
Set objMail = Server.CreateObject("CDO.Message")

objMail.From = sFrom
objMail.To = sTo
objMail.Subject = sSubject
objMail.TextBody = sTextBody

' Send the message
objMail.Send

' Set the object to nothing because it immediately becomes
' invalid after calling the Send method.
Set objMail = Nothing
%>

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #2 (permalink)  
Old 06-10-2007, 04:50 PM
Lady Loveable
Posts: n/a
i see what you did this is going to be so funny but the reason why u r having this problem i think its because you switched so now you have to start over again.that could be the problem but if it works let me know and if it don't work let me know i will look in to it further with you.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #3 (permalink)  
Old 06-11-2007, 04:00 PM
chrishirst chrishirst is offline
Jr. Programmer
Join Date: Jun 2007
Location: Blackpool UK
Posts: 87
iTrader: (0)
chrishirst will become famous soon enoughchrishirst will become famous soon enough
And that answer means ????

for CDOSYS you should use the CDO.Configuration to set the mail server parameters.

Take a look at Send Email When An Hyperlink Is Clicked - High Rankings Search Engine Optimization Forum
the mail function is in the second code block.

__________________
Chris
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Closed Thread


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:09 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50