473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

JMail problem

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.createobject("jmail.message" )
msgtemplate.from = "la***@100procent.com"
msgtemplate.mailserverusername = "xxxx"
msgtemplate.mailserverpassword = "xxxx"
msgtemplate.addattachment server.mappath("adminmenu.xml")
msgtemplate.fromname = "la***@100procent.com"
msgtemplate.isoencodeheaders = false
msgtemplate.addrecipient "%%Email%%", "%%EMail%%"
msgtemplate.subject = "d"
msgtemplate.body = "k"

set mmerge=server.createobject("jmail.mailmerge" )
mmerge.mailtemplate = msgtemplate
mmerge.bulkmerge rs, false, "192.168.8.2"
set msgtemplate = nothing
set mmerge = nothing
set conn=nothing
headers is really wrong, tried to set that isoencodeheaders = false but
didnt help much.....

Win2000Server, Microsoft Mail Internet Headers Version 2.0
Received: from TOKER ([192.168.8.3]) by exch2k2.srv2.100procent.com with
Microsoft SMTPSVC(5.0.2195.6713);
Wed, 10 Sep 2003 16:23:35 +0200
Subject: =??Q?d?=
Sender: "=??Q?lasse@100procent=2Ecom?=" <la***@100procent.com>
From: "=??Q?lasse@100procent=2Ecom?=" <la***@100procent.com>
Date: Wed, 10 Sep 2003 16:15:22 +0200
To: "=??Q?lasse@100procent=2Ecom?=" <la***@100procent.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_EFB927AEAC944588A147EE1C355352C5"
Return-Path: la***@100procent.com
Message-ID: <EX*************************@exch2k2.srv2.100proce nt.com>
X-OriginalArrivalTime: 10 Sep 2003 14:23:35.0937 (UTC)
FILETIME=[1EF8C710:01C377A7]

----NEXT_BM_EFB927AEAC944588A147EE1C355352C5
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: <EB238E9FBEFF4B16A4D4EB76B461EF93>
----NEXT_BM_EFB927AEAC944588A147EE1C355352C5--


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
Jul 19 '05 #1
0 2874

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kingdom | last post by:
I have a SelectBoxes.asp page that is working with multiple selection dropdown boxes to extract data and total the selection prices. Tom & Bob were kind enough to give me a big help getting this...
4
by: Kingdom | last post by:
Having a problem with a jmail email script and cannot seem to solve this error any sugestions welcome. Error shows in browser as Microsoft VBScript runtime error '800a01f4' Variable is...
0
by: BDKiii | last post by:
Ok.. I know this has been covered before -but- here it is again... I installed Jmail to my server and tested it... and it worked fine. I then installed W#.Upload to the same server and tested it to...
2
by: rourou | last post by:
Hello everyone In VB.NET i can use Jmail to send a mai code Dim JMai JMail = Server.CreateObject("JMail.Message" JMail.silent = Tru JMail.Logging = Tru JMail.Charset = "gb2312
8
by: Mangler | last post by:
I am new to Jmail/ASP and either need some help or someone to tell me I am stupid... I got Jmail to work fine. My problem is I need to send an email based on somthing a customer submitted. ...
0
by: johnet | last post by:
Error: jmail.SMTPMail error '8000ffff' Cannot open file L:/ems/mail/hi.html Code: <% DIM strEmail, strFirstName, strLastName, strSubject, strComments, Mailer
0
by: vernon1231 | last post by:
Hi! PLEASE need help! My aim is to make a newsletter, therefor I need a picture to go a long with the mail I am creating from a mailinglist. When I am opening my mail I dont get my picture but a...
4
by: cgrudzinski | last post by:
Hello, I have JMail working without attachments but now want to start using this feature. When using the .addattachment though the email received contains the binary data of the attachment - see...
2
borisding
by: borisding | last post by:
Hi there, I'm using Jmail for sending email with some attachments. Basically, I will need to send out email with the contents in unicode characters such as Simplified Chinese, Japanese etc. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.