JMail components
Dimac Company's Mail transceiver component, which is a very mature and powerful mail component. It can not only complete the work of sending mail, but also pop to receive letters, and support the message when the PGP encryption, built-in a mass mailing object, can make mass programming simpler.
Even if many other components can be completed by the outgoing mail function, the completion of the JM
Asp+|jmail the new idea of using Asp+jmail to send mass mail
Background:
Email address is stored in the MSSQL User Information table, the number of tens of thousands.
Company own server, set Smtp,pop3,www,ftp,mssql,dns and other services in one.
JMail has MailMerge objects, but the free version is not available
Requirements:
Use Asp+
jmail| receiving mail using System;
Using JMail;
Using System.Collections;
Namespace TYM.Com.MyMail
{
?///
?///Mail send Receive class
?///
? public class Mail
? {
?? ///
?? Constructor for Message class
?? ///
?? Public Mail ()
?? {
??}
?? ///
?? Mail model
?? ///
?? Public Mailmodel model = new Mailmodel ();
?? ///
?? Send mail
?? ///
?? The return value is a Boolean that determines whether the send wa
Document directory
Technical support for Windows x64
Because the customer's operation is 64-bit Windows2003, jmail4.5.dll cannot be registered normally, and the mail sending function cannot be used.
I searched for one on the Internet and used the following methods to solve the problem of jmail. dll registration in the 64-bit operating system.
I,
Click Start, click Run, type cmd, and click OK ".
Run the following command to enable the 32-Bit mo
Use JMail to do the procedure of collecting mail attachment
July 6, 2001
I am now using ASP to do a Web mail processing program, and online 263,163 of the Web e-mail.
When I was making my own web mail system, I used the very popular ASP mail processing components Aspmail and jmail to make Web mail for the sender and the Inbox, and now the problem is that when I use my web Inbox to collect an email with atta
JMail is a Third-party messaging component, usually located on the Web server side, that works closely with the site program to receive and submit mail to the mail server's controls, giving the site the ability to send and receive messages.
The function of using JMail in ASP is the following:
The code is as follows
Copy Code
Sub sendaction (Subject,mailaddress,tomail,content,fro
JMail
This section of code involves most common methods of JMail v4.3.Includes basic message information, authentication, attachments, and so on. You can use it without a lot of modifications, or you can change it to a function or procedure.
Dim JMail, ContentIDSet JMail = Server.CreateObject ("Jmail.message")
Jmai
I have been solving the problem of email garbled characters for the past two days. I have tried many methods and have no good solutions.
During the test, we used about three mailboxes, including Outlook, Hotmail, and Gmail. Generally, garbled characters are on Hotmail, And the charset is set to big5, in the text, the Chinese and English questions are mixed, and the Chinese characters are simplified and complex, so Hotmail is basically messy.
Start is sent with
Find jmail. dll (X: \ Program Files \ dimac Development \ jmail) and copy it to a place, for example, D: \ JM \Open the command prompt tool for vs2008Run the following command:Tlbimp D: \ JM \ jmail. dll/out: myjmail. dll/namespace: myjmail
Then cutX: \ Program Files \ microsoftvisualstudio 9.0 \ Vc to generate myjmail. dll under your web bin directory and refer
First, go to Alibaba server. But its jmail is free and has commercial version. The free version has some functional limitations. If there is a problem with the email receiving function, it is not compatible with some codes of domestic post offices.
Register with regsvr32 jmail. dll, and add references to jmail. dll in your project.
See belowCode:
Public Str
Use JMail to do the simplest text mail delivery:First step, download JMail and JAFThe second step, decompression and put into the local classpathThe third step, use:public class mailservice{private static final String host= "smtp.ym.163.com";--------------define mail server SMTP addressprivate static final String user= "[email protected]";----------------Define Login email accountprivate static final String
This section of code involves most common methods of JMail v4.3.
Includes basic message information, authentication, attachments, and so on. You can use it without a lot of modifications, or you can change it to a function or procedure.
Dim JMail, ContentID
Set JMail = Server.CreateObject ("Jmail.message")
Jmail.charset = "gb2312" message character set, default t
'-----------------------------------------------------------------------'---Set item'-----------------------------------------------------------------------'---SMTPS tutorial erver set SMTP mail server address'---fromemail set the sender's e-mail address'---fromname set sender name'---contenttype set message type default: text/html'---CharSet set encoding type default: gb2312'---sendobject settings selection component 1=jmail,2=cdonts'----------------
jmail| process a letter with the JMail process, and the use of the method.
When you send a letter, call the procedure directly.
Dim str,htmlbody
htmlbody= "Str=jmailsend ("2yup", "ILoveYou", True,htmlbody, "2yup@2yup.com", "suercool@sina.com", "Suercool", "smtp.sina.com.cn "," Suercool "," Password ")
If str= "Y" Then
Response.Write ("Send Success")
Else
Response.Write ("Send failed! Please try again!")
En
JMail a letter with the JMail process, and the use of the method.
When you send a letter, call the procedure directly.
Dim str,htmlbody
htmlbody= "Str=jmailsend ("Hello", "ILoveYou", True,htmlbody, "youname@domain.com", youname@sina.com,
"Hello", "smtp.sina.com.cn", "Hello", "Password")
If str= "Y" Then
Response.Write ("Send Success")
Else
Response.Write ("Send failed! Please try again!")
End If
'=======
enough, with Foxmail received open or a question mark. Google, for example, wants to see if anyone has encountered the same problem, but nothing has been found. Then went to Dimc.net (JMail's official website) of the forum shook for a half-day, also failed to solve the problem. It seems only on my own ...
After two hours of constantly modifying the code on the server to send mail tests, the problem did not improve.
Starting with the difference between the local computer and the server, we fir
Commonly used components include AspJpeg, JMail, lyfupload, dynamic, Isapi_rewrite, and so on, this article only said these 5 kinds of components can be installed as required, installation methods and so on.
Download JMail, now the highest version of the free version is
Jmail4.5, click on the following link download: Click
here to download JMail4.5, download extract to any directory, or directly execute
)Errormessage:string(v3.0)Report error message if Jmail.silent is set to TrueResponse.Write (Jmail.errormessage)Errorsource:string(v3.0)Report error message if Jmail.silent is set to TrueResponse.Write (Jmail.errorsource)Isoencodeheaders:boolean(v3.0)The header information code is set according to the iso-8859-1 character. The default is true.Jmail.isoencodeheaders = FalseLazysend:boolean(v3.0)This property is to put the message in the buffer until it is sent, without any error messageJmail.lazy
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.