Im going to add something like this in there:

        <cfif find("@",SMTPto) gt 0>
                <INLOG TEXT="FOUND @ IN SMTPTO">
                <CFSET EMail = SMTPto>
                <CFSET Length = Len(EMail)>
                <CFSET Num = REFind("@", EMail)>
                <CFSET LeftCut = DecrementValue(Num)>
                <CFSET RightCut = (Length - Num)>
                <CFSET FromUserName = Left(EMail, LeftCut)>
                <CFSET FromDomain = Right(EMail, RightCut)>
        <cfelse>
                        <INLOG TEXT="DID NOT FIND @ IN SMTPFROM">
        </cfif>


-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 10:32 AM
To: inFusion Support List
Subject: Re: [iMS] ODD


<cfif find("@",emailaddr) gt 0>
   emailaddr=left(emailaddr,find("@",emailaddr)-1)
</cfif>

That should do it...

Regards,

Howie

----- Original Message -----
From: "Greg Silver" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 10:28 AM
Subject: [iMS] ODD


> this morning we ran into a odd issue.
>
> The email address was not being passed from outlook. the address looked
like
> <>
>
> I fixed it by rebooting the PC then deleteing the account from outlook
then
> adding it back in. FIXED
>
> Then ... it happend on another PC. I remember last week I had this problem
> on another PC and ended up doing the same fix.
> This last tim thought... I had a few emails in my outbox... the only way i
> could send them was to open each one then hit SEND.
>
>
>
> 02/04/2002 11:59:43 PM [251] DEBUG: ->250-Pleased to meet you,
> admin.fishingworks.com
> 02/04/2002 11:59:43 PM [251] DEBUG: ->250 HELP
> 02/04/2002 11:59:43 PM [251] DEBUG: <-MAIL FROM: <>
> 02/04/2002 11:59:43 PM [251] DEBUG: ->250 OK
> 02/04/2002 11:59:43 PM [251] DEBUG: <-RCPT TO: <@fishingworks.com>
> 02/04/2002 11:59:43 PM [001] DEBUG: ->250 Data received ok
> 02/04/2002 11:59:43 PM [001] RELAY ADMIN [63.148.218.5]
> <[EMAIL PROTECTED]> [EMAIL PROTECTED]
> WARNING: Application server response:
> 02/04/2002 11:59:44 PM [251] WARNING: Template=D:\iMS\Domains\DATA.cfm
> 02/04/2002 11:59:44 PM [251] WARNING: Content-type: text/html
> 02/04/2002 11:59:44 PM [251] WARNING: Page-Completion-Status: Normal
> 02/04/2002 11:59:44 PM [251] WARNING: Page-Completion-Status: Abnormal
>
> emailaddr=left(emailaddr,find("@",emailaddr)-1)
> Parameter 2 of function Left which is now "0" must be a positive integer
>
>
> Is there anything you guys know about that we can fix?
>
==^=======================================================
     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