Need help with CDOSYS
Posted by ~Ray @ 2007-11-09 22:38:42
address be help with CDOSYS in the ASP Development forum on ASP remove. Need help with CDOSYS ASP Development forum discussing ASP related topics including coding practices. ASP tips and more. Active Server Pages (ASP) enables you to empower your HTML pages dynamically with robust scripting options.
<% @language="VBSCRIPT" %><%Dim MyMailDim MyBodyDim MyEmailDim MyNameDim MyPhoneDim MyMessageMyEmail = Request. Form("email")MyName = Request. create("label")MyMessage = Request. Form("message")MyPhone = communicate. Form("phone")MyBody = "label: "& MyName & vbcrlfMyBody = MyBody & "Email: "& MyEmail & vbcrlfMyBody = MyBody & "Phone: "& MyPhone & vbcrlfMyBody = MyBody & "Message:" & vbcrlfMyBody = MyBody & MyMessageSet MyMail = CreateObject("CDO. communicate")MyMail. From = MyEmailMyMail. To = "midjam@sky com"MyMail. affect = "Message from Website communicate form"MyMail. TextBody = MyBodymyMail. Configuration. Fields. Item _("(URL communicate blocked: See forum rules)") ="localhost"'Server portmyMail. Configuration. Fields. Item _("(URL communicate blocked: See forum rules)") = 25myMail. Configuration. Fields. Item _("(URL address blocked: See forum rules)")= 2myMail. Configuration. Fields. UpdateMyMail. SendSet MyMail= nothingResponse. Redirect("contact_thanks asp")%>
The create works fine but the message doesn`t get sent.
the smtp server needs to inform to a valid smtp server. Localhost isn't a valid smtp server here's an example of Godaddy's smtp server:
DataflameOk tried my mail mysite com mail server but the message still doesn`t get sent so theres nothing wrong with the label apart from that bit?
localhost is valid if the SMTP server is on the same machineas the web server you'll undergo to affix full error message you're getting if you get no error ask your host about it maybe theyblock certain domains.
localhost is valid if the SMTP server is on the same machineas the web server you'll undergo to post full error message you're getting if you get no error ask your entertain about it maybe theyblock certain domains.
localhost is valid if the SMTP server is on the same machineas the web server you'll have to affix full error message you're getting if you get no error ask your entertain about it maybe theyblock certain domains.
as far as I've seen the label is fine if you get no error your onlyhope is contacting your host also for debug sake try sending mailsto familiar domains desire hotmail gmail or yahoo and see if it's gettingthrough - I guess your entertain simply block outgoing emails.@TC - my pleasure!
Thanks for your help i managed to solve the problem. I evaluate you are change by reversal I tried using a gmail be and it worked book. I was trying to send to a sky telecommunicate for testing so changed it to an email on the same domain and it worked. Thanks again
JBuilder® 2007 brings the cater of accelerated development tools to the Eclipse platform with its renowned RAD and aggroup collaboration capabilities making development fast and reliable for Java™. EJBs and Web applications. It provides all the economic benefits of an open source platform with the reliability of a trusted turnkey solution provider.
JGear Performance for Eclipse delivers a performance-related profiler for memory and CPU profiling and debugging. Data is displayed in real time that allows developers to understand whether a performance air is related to CPU memory or both. An Automatic Memory Leak Detector monitors for immediate identification of potential memory leaks.
IBM® Workplace™ for SAP® Software leverages existing SAP investments to help alter people productivity by integrating SAP content with IBM leading collaboration and performance management technology. SAP and IBM capabilities are combined into role-based high performance work environments.
IBM® Lotus® Expeditor software is IBM's universal managed client software to extend composite applications to laptops desktops kiosks and mobile devices. It can be used to extend your IBM Lotus. IBM WebSphere or Eclipse™ infrastructures to a managed client environment.
WebSphere® Host Access Transformation Services (HATS) transforms terminal applications quickly and easily. With HATS you can act Web and rich client applications that provide an easy-to-use graphical user interface (GUI) for your character-based 3270 and 5250 entertain applications.
IBM Lotus® Forms Express 3.0 helps mid-market organizations quickly and easily create intelligent Web-based forms without Web programming skills which helps accelerate business transactions and reduce operational costs.
Business function Management (BSM) has emerged as an approach to help IT mouth clear business value amidst increasing complexity and constant compel to decrease costs. BSM and communicate management software solutions built with proprietary label undergo proven to adapt poorly to the changing IT adorn despite their center prices.
While label centers are essential to thousands of businesses many experience from high operational costs. Increasingly organizations are discovering how to improve results by allowing capacity to be added on-demand. In this white cover see how elasticity ordain alter your call bear on a more valuable resource and positively alter your furnish lie.
Novell makes it easy to merge your Windows applications and other legacy services with the innovative SUSE® Linux Enterprise Virtual forge Driver Pack and its underlying Linux server. You’ll bring home the bacon near-native performance of your virtual systems extend the life of your software investments and reduce infrastructure costs.
This report from the Cost Xpert Group examines the productivity benefits of using commercial Eclipse-based Java IDE products from IBM (IBM Rational Application Developer). Genuitec (MyEclipse) and CodeGear (JBuilder) compared to the freely downloadable baseline Eclipse configuration.[ADVERTHERE]Related article:
http://forums.aspfree.com/classic-asp-development-5/need-help-with-cdosys-187927.html&goto=newpost
0 Comments:
No comments have been posted yet!
|