configure smtpclient

5
SMTP Client SMTP Client A great feature for the Tiny Developers Page 1 of 5

Upload: mantavya-gajjar

Post on 12-May-2015

2.619 views

Category:

Documents


1 download

DESCRIPTION

Help you to configure OpenERP smtpclient module

TRANSCRIPT

Page 1: Configure SMTPClient

SMTP Client

SMTP ClientA great feature for the Tiny Developers

Page 1 of 5

Page 2: Configure SMTPClient

SMTP Client

Email Sending Facility in Tiny ERP

Tiny ERP Support the email sending facility from the beginning version, but if we go through this functionalities it seems for the specific purpose, like reply CRM Case, and Mass Mailing, its very easy to configure the smtp-server, user and password while running the TinyERP-Server.

you may found this code in to the tools.misc.py file enables user to send the emails, because of its written for the specific purpose, the limitation of this facility is we can not send the file attachment, can not get the statistic regarding the email sent, and while configuration of the user, password and smtp-server we not get the confirmation like its configured successfully. more over ts better if we put the security on the email sending facility, like only authorized user can send the email.

To get all this facility you can use the a new module which is specifiably designed to manage the email address.

You can get this module from the https://svn.tinyerp.com/svn/extra_addons/trunk/smtpclient smtpclient is the module name which install the Smtp-Client, History, Objects related to the Statistic for email sending.

More over this module is just used for the configuration by the System Administration, and used by the Tiny Developers, for example developers want the functionalities like when user confirm the Sale Order or Invoice that will be also be deliver to used via Email Immediately. then this provides the surety of the email delivery. because while configuration of the Email Address it performs 2 way checking, first is tiny can send the successfully able to send the email from the provided email address, and second things is when ever content send to recipient that also verify by the Verification code.

System Administrator configure the email address, and ask for the verification, the Verification process send the random generated key to the supplied email address, and after that user have to verify that email address by supplying the verification code. after that all user which have the access to this email address they can send the email using this address.

SMTP Client provides an enhancements to the existing modules like its great if we can send the Sale Order copy in email to the Customer immediately after confirmation of the Sale Order. or Send the Delivery Notes to the Customer after confirmation of the Picking. this kind of functionalities will be available in the extra_addons.

Page 2 of 5

Page 3: Configure SMTPClient

SMTP Client

Lets see how to configure the SMTP Client, to send the email using the configured address, for that we required few things, like smtp-server, smtp-port, email address, password, we can configure any email server which provides authentication based email sending facility.

General Configuration

Message Configuration

Page 3 of 5

Page 4: Configure SMTPClient

SMTP Client

User Permission

There is an easy process for the Email address Registration, just enter all the detail for the new Email Address, and save that record. now run the wizard called “Send Verification Code” this will ask an email address from user and send the verification code to this email address.

this will send the verification code to the [email protected] and now get that code and run the 2nd wizard called, “Verify Server” the code seems like as follows.

Now take the code “a90dcf20711e256e24047ec187a91e24” and verify with the Verification process as follows.

So, after this this process this email address, and smtp server is verified successfully and this can be used in tiny to send the email. now all user those who have a permission that can send the email, this module is very much use full to the Developers.

Page 4 of 5

Page 5: Configure SMTPClient

SMTP Client

Lets see, how developer can get the benefits from this module, to reduce the code and made things easy, simple, fast, and automated. during there are new module available in to the extra_addons.

invoice_auto_email send automatic email attached with the confirmed Invoice when any invoice confirm.

sale_auto_email send automatic email attached with the sale order when any sale order confirm.

stock_auto_email send an Delivery Note attached with the email when picking is confirm

purchase_auto_email send purchase oder confirmation mail to supplies when purchase order confirm by supplier.

Developer can provide configuration for the email address in company, company can have a multiple email address for the different kind of communication as follows, while development of the automatized module for send the email just select the approbate email address from the company. and send email using that email address.

Mantavya [email protected]

Page 5 of 5