Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

smtp mail using cold fusion

Status
Not open for further replies.

jl8789

MIS
May 22, 2003
293
US
The dialogue below is in response to a question of why cfmail fails when one of the email addresses is invlaid in the to, cc, etc list. Does anyone know how to set the mail.smtp.sendpartial property using cold fusion? Thanks!


--Dialogue
The mail.smtp.sendpartial property would need to be set on your ColdFusion server [1], not on the smtp.sbc.com host. There's probably a programmatic way to do this with cfset, but I'm not the one to ask.

Meanwhile, Sun once again demonstrates [2] that they have difficulty selecting reasonable default behavior.

If set to true, and a message has some valid and some invalid addresses, send the message anyway, reporting the partial failure with a SendFailedException. If set to false (the default), the message is not sent to any of the recipients if there is an invalid recipient address.
 
I am pretty new to Cold Fusion and programming in general so any help would be greatly appreciated.

When the person clicks on view users, I want to display all of the users in the database. Below is the current code, but obviously it will display the first row over and over. How can I only display the first row one time and then all of the data.

Thanks in advance.
Scott

Code:
<cfquery name="viewusers" datasource="mssqlcf_databasename" dbtype="odbc">
	select *
	from users
	
</cfquery>

<cfoutput query="viewusers">
<table width="100%" align="center" cellpadding="2" cellspacing="2" border="1">
	
	<tr>
		<td align="left">First Name</td>
		<td align="left">Last Name</td>
		<td align="left">Username</td>
		<td align="left">Password</td>
		<td align="left">Company</td>
		<td align="left">Email</td>
	</tr>
    <tr>
		<td align="left">#viewusers.firstname#</td>
		<td align="left">#viewusers.lastname#</td>
		<td align="left">#viewusers.username#</td>
		<td align="left">#viewusers.password#</td>
		<td align="left">#viewusers.company#</td>
		<td align="left">#viewusers.email#</td>
	</tr>

</table>
</cfoutput>
 
oops, I aplogize. I put this in the wrong place. I meant to start a new message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top