Hello
I use this code to send massmail with an attachment using JMail 4
proffessional. and the attachment seems to be attached but when i open it
the first time my system32 folder opens....... next time i try to open it
the file opens, but with the name "menu2.xml" , i open it again and its
"menu3.xml" and so on..... i have this piece of code:
set msgtemplate = server.createob ject("jmail.mes sage" )
msgtemplate.fro m = "lasse@100proce nt.com"
msgtemplate.mai lserverusername = "xxxx"
msgtemplate.mai lserverpassword = "xxxx"
msgtemplate.add attachment server.mappath( "adminmenu.xml" )
msgtemplate.fro mname = "lasse@100proce nt.com"
msgtemplate.iso encodeheaders = false
msgtemplate.add recipient "%%Email%%" , "%%EMail%%"
msgtemplate.sub ject = "d"
msgtemplate.bod y = "k"
set mmerge=server.c reateobject("jm ail.mailmerge" )
mmerge.mailtemp late = msgtemplate
mmerge.bulkmerg e rs, false, "192.168.8. 2"
set msgtemplate = nothing
set mmerge = nothing
set conn=nothing
headers is really wrong, tried to set that isoencodeheader s = false but
didnt help much.....
Win2000Server, Microsoft Mail Internet Headers Version 2.0
Received: from TOKER ([192.168.8.3]) by exch2k2.srv2.10 0procent.com with
Microsoft SMTPSVC(5.0.219 5.6713);
Wed, 10 Sep 2003 16:23:35 +0200
Subject: =??Q?d?=
Sender: "=??Q?lasse@100 procent=2Ecom?= " <lasse@100proce nt.com>
From: "=??Q?lasse@100 procent=2Ecom?= " <lasse@100proce nt.com>
Date: Wed, 10 Sep 2003 16:15:22 +0200
To: "=??Q?lasse@100 procent=2Ecom?= " <lasse@100proce nt.com>
X-Priority: 3
X-MSMail-Priority: Normal
MIME-Version: 1.0
X-USER_IP: 62.168.149.29
X-Mailer: JMail 4.1.4 by Dimac
Content-Type: multipart/mixed;
boundary="--NEXT_BM_EFB927A EAC944588A147EE 1C355352C5"
Return-Path: lasse@100procen t.com
Message-ID: <EXCH2K25pqn9id lNTFh0000258a@e xch2k2.srv2.100 procent.com>
X-OriginalArrival Time: 10 Sep 2003 14:23:35.0937 (UTC)
FILETIME=[1EF8C710:01C377 A7]
----NEXT_BM_EFB927A EAC944588A147EE 1C355352C5
Content-Type: application/octet-stream; name="menu.xml" ;
name="=??Q?menu =2Exml?="
Content-Transfer-Encoding: base64
Content-Description: =??Q?menu=2Exml ?=
Content-Disposition: attachment; filename="=??Q? menu=2Exml?="
Content-ID: <EB238E9FBEFF4B 16A4D4EB76B461E F93>
----NEXT_BM_EFB927A EAC944588A147EE 1C355352C5--
what's really wrong here? i cant send a simple mail with attachment without
headers being totally wrong nomatter what filetyp i send... i cant open
them.....
/Lasse
I use this code to send massmail with an attachment using JMail 4
proffessional. and the attachment seems to be attached but when i open it
the first time my system32 folder opens....... next time i try to open it
the file opens, but with the name "menu2.xml" , i open it again and its
"menu3.xml" and so on..... i have this piece of code:
set msgtemplate = server.createob ject("jmail.mes sage" )
msgtemplate.fro m = "lasse@100proce nt.com"
msgtemplate.mai lserverusername = "xxxx"
msgtemplate.mai lserverpassword = "xxxx"
msgtemplate.add attachment server.mappath( "adminmenu.xml" )
msgtemplate.fro mname = "lasse@100proce nt.com"
msgtemplate.iso encodeheaders = false
msgtemplate.add recipient "%%Email%%" , "%%EMail%%"
msgtemplate.sub ject = "d"
msgtemplate.bod y = "k"
set mmerge=server.c reateobject("jm ail.mailmerge" )
mmerge.mailtemp late = msgtemplate
mmerge.bulkmerg e rs, false, "192.168.8. 2"
set msgtemplate = nothing
set mmerge = nothing
set conn=nothing
headers is really wrong, tried to set that isoencodeheader s = false but
didnt help much.....
Win2000Server, Microsoft Mail Internet Headers Version 2.0
Received: from TOKER ([192.168.8.3]) by exch2k2.srv2.10 0procent.com with
Microsoft SMTPSVC(5.0.219 5.6713);
Wed, 10 Sep 2003 16:23:35 +0200
Subject: =??Q?d?=
Sender: "=??Q?lasse@100 procent=2Ecom?= " <lasse@100proce nt.com>
From: "=??Q?lasse@100 procent=2Ecom?= " <lasse@100proce nt.com>
Date: Wed, 10 Sep 2003 16:15:22 +0200
To: "=??Q?lasse@100 procent=2Ecom?= " <lasse@100proce nt.com>
X-Priority: 3
X-MSMail-Priority: Normal
MIME-Version: 1.0
X-USER_IP: 62.168.149.29
X-Mailer: JMail 4.1.4 by Dimac
Content-Type: multipart/mixed;
boundary="--NEXT_BM_EFB927A EAC944588A147EE 1C355352C5"
Return-Path: lasse@100procen t.com
Message-ID: <EXCH2K25pqn9id lNTFh0000258a@e xch2k2.srv2.100 procent.com>
X-OriginalArrival Time: 10 Sep 2003 14:23:35.0937 (UTC)
FILETIME=[1EF8C710:01C377 A7]
----NEXT_BM_EFB927A EAC944588A147EE 1C355352C5
Content-Type: application/octet-stream; name="menu.xml" ;
name="=??Q?menu =2Exml?="
Content-Transfer-Encoding: base64
Content-Description: =??Q?menu=2Exml ?=
Content-Disposition: attachment; filename="=??Q? menu=2Exml?="
Content-ID: <EB238E9FBEFF4B 16A4D4EB76B461E F93>
----NEXT_BM_EFB927A EAC944588A147EE 1C355352C5--
what's really wrong here? i cant send a simple mail with attachment without
headers being totally wrong nomatter what filetyp i send... i cant open
them.....
/Lasse