![]() |
|
|
|
| ||||||
|
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: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [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 %> |
| |
| |||
| 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. |
| |||
| 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |