Sql – How to use send email task in SSIS package

emailsqlsql serverssis

I am New to SSIS,
So far I have configured the Database email using Basic Authentication in my SQL server management Studio.
Now I want to send an email from SSIS package.
I know that the send Email task only works with windows authentication.
I do not know What should I enter in SMTP server while I create the SMTP Connection manager.
I am working on my local system.
Can anyone please tell how can we configure the SMTP server and use it in Send mail task?
Any help is appreciated ?

Best Answer

In your SSMS you can place the SEND MAIL TASK onto the design view of your *.dtsx package. Then double click the SMTP Connection Manager to input your email server creds (the server IP Address), and finally you can double click the Send Mail Task itself to fill out the email address and other information related to what you want to send.

enter image description here

enter image description here

enter image description here