I've tried emailing an XHTML file a few diff ways.... no luck....
DSTX6.7 WinXP
XHTML output card set to
target = email
command =
-T -PROTO INET -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test
I also attempted to send the email witht he following rule:
=put("email"," -T -PROTO INET -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test ", package(xhtmlutput:file))
=put("email"," -T -PROTO INET -raw -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test ", package(xhtmlutput:file))
=put("email"," -T -PROTO INET -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test -att '" + substitute(getresourcename(xhtmlutput:file), getdirectory(xhtmlutput:file), "") + "'"
, package(xhtmlutput:file))
Anyone know what I'm missing? Seems to work if the file is text with no XHTML.
XHTML doc looks something like....
<?xml version="1.1" encoding="utf-8"?>
<!DOCTYPE xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
<html XMLNS="<body>
<head>
<title>
PAYER NAME
</title>
<style>
@MEDIA PRINT { DIV.PAGEBREAK {PAGE-BREAK-BEFORE: ALWAYS}}
</style>
</head>
<center><h1><GROUPNAME>INSURED GROUP NAME</GROUPNAME></h1></center><br>
<GROUPINFO><pre>
<B>FILE CREATED: </B><FILEDATE>06/08/2004</FILEDATE>
<B>FILE PROCESSED: </B><PROCESSDATE>06/08/2004</PROCESSDATE>
<B>GROUP NAME: </B>Wellmark
</pre>
</GROUPINFO>
<hr><hr><p>
<pre><SUBSCRIBER><h4><b>SUBSCRIBER COUNT</b><blockquote><SUBSCRIBERCNT>242</SUBSCRIBERCNT></blockquote>
</SUBSCRIBER></pre>
</p>
<p>
<pre><DEPENDENT><h4><b>DEPENDENT COUNT</b><blockquote><DEPENDENTCNT>187</DEPENDENTCNT></blockquote>
</DEPENDENT></pre>
</p>
<DIV CLASS="PAGEBREAK" ><hr></DIV>
<body>
</html>
I don't know anything about HTML, XML or XHTML so perhaps the problem is less the put cmd than the XHTML.
Eyetry
DSTX6.7 WinXP
XHTML output card set to
target = email
command =
-T -PROTO INET -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test
I also attempted to send the email witht he following rule:
=put("email"," -T -PROTO INET -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test ", package(xhtmlutput:file))
=put("email"," -T -PROTO INET -raw -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test ", package(xhtmlutput:file))
=put("email"," -T -PROTO INET -SERVER email.server -user eyetry -pw 123xxx -from sender.email -to recipient.email -sub test -att '" + substitute(getresourcename(xhtmlutput:file), getdirectory(xhtmlutput:file), "") + "'"
, package(xhtmlutput:file))
Anyone know what I'm missing? Seems to work if the file is text with no XHTML.
XHTML doc looks something like....
<?xml version="1.1" encoding="utf-8"?>
<!DOCTYPE xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
<html XMLNS="<body>
<head>
<title>
PAYER NAME
</title>
<style>
@MEDIA PRINT { DIV.PAGEBREAK {PAGE-BREAK-BEFORE: ALWAYS}}
</style>
</head>
<center><h1><GROUPNAME>INSURED GROUP NAME</GROUPNAME></h1></center><br>
<GROUPINFO><pre>
<B>FILE CREATED: </B><FILEDATE>06/08/2004</FILEDATE>
<B>FILE PROCESSED: </B><PROCESSDATE>06/08/2004</PROCESSDATE>
<B>GROUP NAME: </B>Wellmark
</pre>
</GROUPINFO>
<hr><hr><p>
<pre><SUBSCRIBER><h4><b>SUBSCRIBER COUNT</b><blockquote><SUBSCRIBERCNT>242</SUBSCRIBERCNT></blockquote>
</SUBSCRIBER></pre>
</p>
<p>
<pre><DEPENDENT><h4><b>DEPENDENT COUNT</b><blockquote><DEPENDENTCNT>187</DEPENDENTCNT></blockquote>
</DEPENDENT></pre>
</p>
<DIV CLASS="PAGEBREAK" ><hr></DIV>
<body>
</html>
I don't know anything about HTML, XML or XHTML so perhaps the problem is less the put cmd than the XHTML.
Eyetry