Use jimail to send emails anonymously without identity authentication.

Source: Internet
Author: User

Environment jmail4.4 vs2008 SP1

==================================

Find jmail. dll (X: \ Program Files \ dimac Development \ jmail) and copy it to a place, for example, D: \ JM \

Open the command prompt tool of vs2008, which is the CMD window.

Run the following command:

Tlbimp D: \ JM \ jmail. dll/out: myjmail. dll/namespace: myjmail

Then cut

X: \ Program Files \ microsoftvisualstudio 9.0 \ Vc to generate myjmail. dll under your web bin directory and reference

TestCodeAs follows:

 

Code
Smtpmail owenmail =   New Myjmail. smtpmail ();
Owenmail. charset =   " Gb2312 " ;
Owenmail. Sender =   " Info@com.net " ;
Owenmail. Subject =   " How is the weather today? " ;
Owenmail. addrecipient ( " Xxxxx@163.com " );
Owenmail. Body =   " How is the weather today? " ;
Owenmail. Execute ();
Owenmail. Close ();

Note that the firewall may need to be disabled, and you can view it in the spam email when receiving it...

 

If you need identity authentication, you will not post it ..

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.