Home > other >  Mail received attachment tcmime. The cause of the bin and solution
Mail received attachment tcmime. The cause of the bin and solution

Time:09-24



[abstract] I also met, mail received attachment tcmime. 1258.1288.1754. Bin,
Online search to a lot of answers, no clear solution,

[text]
I'm writing "easy straight EmailZiFa E-mail to send the client specifically v3.0 edition", test
Receive the email attachments,

Email because I am committed to let as inventory easily, can v3.0 is a key to send the hard disk,

Obviously, it is I send the software has a bug, send again, the problem is still there,
I have to find to send successful software before, as directly send subroutine, problems resolved,

Contrast research, attachment file is put in the transmitter is right, the problem of the parent,
Such as definition, Dim or Set Set, resulted from the sender attachment files, send by
Attachment is actually empty, didn't really send out the original accessories,

This is very similar to the given attachment file name or path error, can't find the real attachment
And hair empty,

The result is received tcmime. 1258.1288.1754. Bin such attachments,

I send subroutine below normal, using VB can try:

Private Sub Command3_Click ()

Aa=Text1 'inboxes
Bb title=Text2 '
Cc=Text3 'body
Dd=Text4 'attachment

Dim Jmail As Object
The Set of Jmail=CreateObject (" Jmail. The Message ")
Jmail. Silent=True 'generally don't have to change
Jmail. Charset="gb2312" 'set the mail code
Jmail. Silent=False
The importance of Jmail. Priority=2 'set email

Jmail. MailServerUserName="663 @qq.com" 'set email user name
Jmail. MailServerPassWord="sclvdpuwybnmbche" 'set the email password

Jmail. FromName=bb 'set the mail shows the sender
Jmail. From="663 @qq.com" 'set your outbox
Jmail. Subject set up your email title=bb '

Jmail.=cc 'Body set E-mail


If the dd="" Then
Text5=I
The Else

Jmail. AddAttachment (dd) 'set up attachment App. Path +

End the If


Jmail. AddRecipient aa 'set the recipient email address

Jmail. Send (" smtp.qq.com ") 'set SMTP server address


'-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - end mail processing

The Set Jmail release
=Nothing '
Err_test2:
The Debug. Print Err. The Description

Text5=".. Already sent out, "

End Sub
[/size] [/size] [/size]
  • Related