Right you need to be careful here when trying to redeliver back to yourself.

look at the cfmail.log file and see why it didn't make it out. Be careful here though, you have created a mail loop.

On 01-Oct-15 09:08, [email protected] wrote:
I tried the mailDeliver() method as suggested. Here is the code I'm running right now....

|
<cffunction name="onMailAccept" access="public" returntype="any">
    <cfargument name="mail" required="true">

    <cfset temp = mailDeliver(arguments.mail) />
</cffunction>
|

Obviously, I'm just trying to get the "re-delivery" process to test functional before I add any processing logic. The mail is being accepted properly, no issue on that end. However I am still seeing the same error message in the mail.log as when I was attempting to do this by manually creating the file...

|
MailOutFail: Failed to parse /opt/openbd_3.2.0/tomcat/../logs/cfmail/spool/1443032798791.tmpsend
|

The file that is left in the 'undelivered' folder seems to look ligit.... not sure what is going sideways here.

File (manually added the "XXXX" in the email addresses):
|
From: Alan TestAcnt <alleXXXXX.net>
To: Alan Cole <alaXXXXX.net>
Subject: Testing
Date: 01 Oct 2015 08:58:39 -0400
Message-Id: <[email protected]>
MIME-Version: 1.0
X-Mailer: Unibox (334:14.5.0)
Content-Type: multipart/alternative;
boundary="=_685A0DCC-BFD7-4129-A065-4629E6BC725A"
X-BlueDragon-SSL: none
X-BlueDragon-timeout: 60000


--=_685A0DCC-BFD7-4129-A065-4629E6BC725A
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable

This is a test with just the main argument in the mailDeliver() method.


Thanks,
Alan


--=_685A0DCC-BFD7-4129-A065-4629E6BC725A
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w=
3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta charset=3D"utf-8">
<style>body{font-family:Helvetica,Arial,sans-serif;}blockquote{margin:0;pad=
ding:0 0 0 12px;border-left:1px solid #aaa;color:#aaa;}hr.unibox-forward{bo=
rder:0;color:#888;background-color:#888;height:1px;}</style>
</head>
<body>
<div>This is a test with just the main argument in the mailDeliver() method=
.</div>
<div><br></div>
<div>Thanks,</div>
<div>Alan</div>
</body>
</html>
--=_685A0DCC-BFD7-4129-A065-4629E6BC725A--
|

Any help would be greatly appreciated - The log file doesn't seem to be very helpful at this point and I don't know what's happening 'under the hood'.

Thanks!
Alan

On Wednesday, September 30, 2015 at 4:42:06 PM UTC-4, Alan Williamson wrote:

    You need to use the following methods:

    http://openbd.org/manual/?/function/maildeliver
    <http://openbd.org/manual/?/function/maildeliver>

    http://openbd.org/manual/?/function/mailwrite
    <http://openbd.org/manual/?/function/mailwrite>

    http://openbd.org/manual/?/function/mailread
    <http://openbd.org/manual/?/function/mailread>



    On 30-Sep-15 15:39, [email protected] <javascript:> wrote:
    Thanks Al..

    New related issue (easier to reply here than start a new thread)...


    Not extremely helpful. I can tell it's upset with the format that
    I've manually created, but I've compared it line by line with
    other (programmatically generated) email spool files and can't
    see what I'm missing. Any ideas?

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
http://aw20.is/

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to