Title: Message
I'm having the same issue.  I've got a copy of iMS that we have on a dev server that is acting the same way (didn't upgrade production server yet) - sucks up resources to the point of Windows screaming about memory - spikes CPU at 100 too.  Will eventually come up but takes 20-30 minutes.
 
Bill

----
William Vernon          Omega Design Studio, Inc.
President                  18 North Belmont Ave., Suite 16
                               Indianapolis, IN 46222
                               317.423.3568 http://4omega.com

-----Original Message-----
From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 08, 2002 1:40 PM
To: inFusion Support List
Subject: [iMS] MAJOR mail server problem...Configurator sucking up tons of memory and not launching...

Major problem... :(
 
Last night, sometime, my company's mail server went down (we were running iMS).  This morning I go over to our co-lo to check things out, and it seems TWO of the three drives in the machine's RAID array are non-functional.  Never had that happen before.
 
So, I've been scrambling to set up a new machine with iMS.  I downloaded 2.4d, and Fusionmail 2.01and it all installed nicely (except for an undefined #domainsfolder# variable that I manually set and everything else installed nicely. 
 
I set up new accounts, and then launched the configurator to set up the DNS servers and settings for the various servers, but the configurator didn't launch.  THinking that was weird, I waited a couple of minutes to see if maybe the first time through initialization took a while or something, but then checked my task manager, and saw the the Configurator was eating up 425MB of memory.  I've tried rebooting, relaunching, shutting everything down...nothing.  I launch the configurator, and the thing just begins sucking up memory at a scary pace.
 
Anyone run into this problem?  I haven't even had a chance to check the past posts about this version, so my apologies if this has already been addressed.  I've been in sort of a crisis mode all morning.
 
-Kev
-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 08, 2002 9:12 AM
To: inFusion Support List
Subject: Re: [iMS] token fields

Answers below...
----- Original Message -----
Sent: Friday, November 08, 2002 2:13 AM
Subject: [iMS] token fields

Hello,
 
I'm trying to use cfx_imsmail to send out a newletter.  In the newsletter I need to replace certain strings (tokens ??) with values from a database query.  From what i can see in the documentation, the way to do this is to open a query then use the QUERY & QUERYFIELD parameters to specify the query and the field in the query I want to send the email to.  How then do I specify something like "[name]" to be replaced in the email with the name field from the database ??
 
This what i have so far ::
 
<cfscript>
 htmlcontent = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
<html>
<head>
 <title>Untitled</title>
</head>
 
<body>
 
Dear [name],
<br><br>
sdfasdf asd fa<br>
sdf asfasf<br><br>
<font >This is the email content, testing the ims sender....</font>
<br><br><br>
asfasdf !!!!
 
</body>
</html>';
</cfscript>
 
<cfquery name="getmembers" datasource="test">
 SELECT member_email, member_name
 FROM member_
 ORDER BY member_id
</cfquery>
 
<cfx_imsmail query="getmembers" QUERYFIELD="member_email" header_subject="This is a real test"
smtpfrom="[EMAIL PROTECTED]" header_from="IMS - VERVE" smtpto="[EMAIL PROTECTED]" body="Dear [name], Blah blah blah blah blah blah blah" html="#htmlcontent#">
 
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
So then how do i use the token.... parameter to specify that i want to replace the value "[name]" with the field "member_name" from the query ??
 
You'll need to specify the field as a query token by specifying it in your tag parameters like:
 
qtoken_name="member_name"
 
Then, in the body of the message you use name as a token and you delimit it with the default delimiters like:
 
<:name:>
 
So, your code becomes:
 
<cfx_imsmail query="getmembers" QUERYFIELD="member_email" qtoken_name="member_name"  header_subject="This is a real test"
smtpfrom="
[EMAIL PROTECTED]" header_from="IMS - VERVE" smtpto="[EMAIL PROTECTED]" body="Dear <:name:>, Blah blah blah blah blah blah blah" html="#htmlcontent#">
 
 
 
** also.. for testing purposes - i've noticed that if i have the same email address in the database multiple times - only 1 email will be sent... is this correct ?? .. is there a way to override this ?
 
No, there is not way to override this other than doing a cfloop over the cfx tag.  The reason that iMS works this way is because you would normally not want one email address receiving the same email.
 
Regards,
 
Howie
 
thanks in advance

This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"

To leave this list please complete the form at http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here: http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]

Reply via email to