473,692 Members | 2,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

jmail Attachment

3 New Member
Error: jmail.SMTPMail error '8000ffff'

Cannot open file L:/ems/mail/hi.html


Code:

<%
DIM strEmail, strFirstName, strLastName, strSubject, strComments, Mailer

strEmail = Request.Form("E mail")
strFirstName = Request.Form("F irstName")
strLastName = Request.Form("L astName")
strSubject = Request.Form("S ubject")
strComments = Request.Form("C omments")

Set JMail = Server.CreateOb ject("JMail.SMT PMail")
JMail.Logging = True
JMail.ServerAdd ress = "ltvsgroupware: 25"
JMail.ContentTy pe = "text/html"
JMail.AddRecipi ent "care_gd@lucast vs.co.in"
JMail.Sender = strEmail
JMail.Subject = strSubject
JMail.Body = strComments
JMail.AddAttach ment "L:/ems/mail/hi.html"
JMail.Execute
Set JMail= Nothing
IF NOT JMail.Execute THEN
Response.Write( "ERROR MESSAGE: " & JMail.ErrorMess age & "<BR>" & vbcrlf )
Response.Write( "ERROR SOURCE: " & JMail.ErrorSour ce & "<BR>" & vbcrlf )
Response.Write( "LOG: <pre>" & JMail.Log & "</pre>" & vbcrlf )
ELSE
Response.Write "<blockquote>Yo ur :<b>" & strSubject & "</b> Newsletter has been successfully sent to <b>" & intSubscribers & "</b> subscribers.</blockquote>"
END IF
%>


dont know what to do????

thanks in advance.
Jun 29 '07 #1
0 1853

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1891
by: Lasse Edsvik | last post by:
Hello I was wondering if you guys have tried to use JMail's AddURLAttachment when mailing? i cant get that simple thing to work. i have this: <% set mail=server.createobject("JMail.smtpmail") mail.ServerAddress = "192.168.8.2" mail.addurlattachment
0
2897
by: Lasse Edsvik | last post by:
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" )
2
4020
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 page working and it's working just fine, no problems with this page. However I then would like this data e-mailed using jmail (my host insists on this method) and that is the function of the sendEMail2.asp page. This is failing and only giving...
4
4380
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 undefined: 'JMail'
0
2958
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 attach a document or image file from a users PC and attach it to the email on the fly. I used the following 3 files to do this (attach1.htm, attach2.asp, & attach3.htm) I receive the text data via email... but no attachment... am I missing
2
5534
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
5021
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. When we receive the submission in our system an auto-receipt email will be sent. What I need to have happen (and cant figure out) is that email to include what was received not just a on liner saying it was received. The information is pulled from...
0
2320
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 "picture icon" (the one you get when you place a picture on a webside without a file reference). and I also get "many many" characters/letters, so it seems that the source code finds the picture but is having problems translating it through Email. ...
4
8941
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 example below. Code Example: Set JMail = Server.CreateObject("JMail.SMTPMail") JMail.ServerAddress = "mailhub.registeredsite.com" Jmail.ContentType = "text/plain"
0
8610
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8544
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9090
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8968
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6462
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2977
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1961
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.