JMail AddURLAttachment problems

L

Lasse Edsvik

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
"http://www.100procent.com/lasse/lasse.jpg","lasse.jpg",true
mail.Sender = "(e-mail address removed)"
mail.Subject = "kk"
mail.Body = "Kkk"
mail.AddRecipient "(e-mail address removed)"
mail.Priority = 3
mail.execute
set mail=nothing
%>


when i run it it mails and the attachment looks fine, when i try to open it
the open/save as dialog shows and i click open, and then it opens the
system32 folder, it didnt say anything about the file i was trying to open.
then i try to open again and then it asks for a lasse1.jpg, next time
lasse2.jpg, wtf is up with that?

/Lasse
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top