Suggestions & Feedback
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsForum InformationSuggestions & Feedback

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 18th, 2007, 10:53 PM
baseballdude_'s Avatar
baseballdude_ baseballdude_ is offline
Expert Learner
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2005
Location: Wisconsin
Posts: 1,878 baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)baseballdude_ User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 22104 Folding Title: Starter FolderFolding Points: 22104 Folding Title: Starter Folder
Time spent in forums: 1 Week 5 Days 11 h 55 m 55 sec
Reputation Power: 62
Send a message via AIM to baseballdude_ Send a message via MSN to baseballdude_ Send a message via Yahoo to baseballdude_ Send a message via Google Talk to baseballdude_
Posting code with no [code] or [php] tags

This is a small bug. The little javascript warning that shows if you forgot to post with [code] or [php] tags still shows up if you posted a title with your [code] tag, such as [code=Blah Blah Blah].

This happened to me when posting this post:
http://forums.aspfree.com/asp-development-5/cdosys-error-151655.html

Reply With Quote
  #2  
Old February 9th, 2007, 08:53 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 156 thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 58 m 36 sec
Reputation Power: 34
We are working on this issue now

Reply With Quote
  #3  
Old February 9th, 2007, 08:56 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 156 thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 58 m 36 sec
Reputation Power: 34
test post

Code:
Relevant Code
<%
Sub SendEmail(strTo, strFrom, strSubject, strBody)
	Dim Mail, Config

	Set Mail = Server.CreateObject("CDO.Message")
		Set Config = Server.CreateObject("CDO.Configuration")
			Config.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
			Config.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
			Config.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
			Config.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
			Config.Fields.Update()

			Set Mail.Configuration = Config

			With Mail
				.From = strFrom
				.To = strTo
				.Subject = strSubject
				.HTMLBody = strBody
				.Send()
			End With
		Set Config = Nothing
	Set Mail = Nothing
End Sub
'...
		Call SendEmail("someone@somewhere.com", strName & " <" & strEmail & ">", strSubject, "Customer Name: " & strName & "<br />Relevant URL: " & strURL & "<br /><hr /><br />" & strBody)
%>

Reply With Quote
  #4  
Old February 9th, 2007, 08:58 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 156 thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 58 m 36 sec
Reputation Power: 34
test post

asp Code:
Original - asp Code
  1. <%
  2. Sub SendEmail(strTo, strFrom, strSubject, strBody)
  3.     Dim Mail, Config
  4.  
  5.     Set Mail = Server.CreateObject("CDO.Message")
  6.         Set Config = Server.CreateObject("CDO.Configuration")
  7.             Config.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
  8.             Config.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
  9.             Config.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
  10.             Config.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
  11.             Config.Fields.Update()
  12.  
  13.             Set Mail.Configuration = Config
  14.  
  15.             With Mail
  16.                 .From = strFrom
  17.                 .To = strTo
  18.                 .Subject = strSubject
  19.                 .HTMLBody = strBody
  20.                 .Send()
  21.             End With
  22.         Set Config = Nothing
  23.     Set Mail = Nothing
  24. End Sub
  25. '...
  26.         Call SendEmail("someone@somewhere.com", strName & " <" & strEmail & ">", strSubject, "Customer Name: " & strName & "<br />Relevant URL: " & strURL & "<br /><hr /><br />" & strBody)
  27. %>

Reply With Quote
  #5  
Old February 9th, 2007, 09:45 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 156 thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 58 m 36 sec
Reputation Power: 34
This is fixed now, you may want to do a full page load to refresh all your cached JS files

Reply With Quote
Reply

Viewing: ASP Free ForumsForum InformationSuggestions & Feedback > Posting code with no [code] or [php] tags


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT