Hi to all,
When I use DSSendMailAttachmentTester routine by giving all arguments it works well .... the receiver recieves email but without attached file. Also instead of message I typed in BODY, the following message is displayed in email.
*************************************************************
This is a MIME encoded message.
--Unique-Boundary-14207-34801
Content-Type: text/plain
"My Actual Message I send to Receiver"
--Unique-Boundary-14207-34801
Content-Type: application/octet-stream; name="c:/mydir/myfile.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="c:/mydir/myfile.txt"
TXVoYW1tYWQgYXNpZjENCg==
--Unique-Boundary-14207-34801
*************************************************************
Any one who has experienced with this problem or who knows the solution, Please help me.
Regards,
ITsME
DSSendMailAttachmentTester problem
Moderators: chulett, rschirm, roy
Works fine here from a UNIX server, I get an attachment rather than having it MIME encoded and inlined. Perhaps the email client on the other end plays a role as well, I don't really recall - using Outlook here.
For the record, what are you using for sending mail from your Windows server and what is the email client on the other end? Have you edited the 'template' at all?
For the record, what are you using for sending mail from your Windows server and what is the email client on the other end? Have you edited the 'template' at all?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Hi,
I didnot make any change in template file. The receiver is on the same mail server. Consider the following arguments:-
ToAddress = "myfriend@mycompany.com"
FromAddress = "me@mycompany.com"
Subject = "Its Test Mail"
SMTP Server = "mailserver.mycompany.com"
Attachments = "c:\mydir\myfile.txt"
MessageBody = "My Message"
Thanks
I didnot make any change in template file. The receiver is on the same mail server. Consider the following arguments:-
ToAddress = "myfriend@mycompany.com"
FromAddress = "me@mycompany.com"
Subject = "Its Test Mail"
SMTP Server = "mailserver.mycompany.com"
Attachments = "c:\mydir\myfile.txt"
MessageBody = "My Message"
Thanks
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Yes......Attachment is not attached and in BODY "something*" about file that was trying to send as attachment.
*something
--Unique-Boundary-14207-34801
Content-Type: application/octet-stream; name="c:/mydir/myfile.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="c:/mydir/myfile.txt"
Is this due to SMTP server?
*something
--Unique-Boundary-14207-34801
Content-Type: application/octet-stream; name="c:/mydir/myfile.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="c:/mydir/myfile.txt"
Is this due to SMTP server?
That 'something' is the file. As noted in the email itself, the file has been MIME encoded and included in the body of the email rather than being attached. Your email reader would then need to decode the email to restore the file to its original state.
See web sites like this one for the gory details.
See web sites like this one for the gory details.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers