I'm just getting into sql-server SSIS, so forgive me if this is a basic question. Use the SSISwant to send mail from gmail smtp server.

Smtp host =smtp.gmail.com 
port=587 ,
[email protected],
[email protected],

Using the above information I want to send mail from SSIS. How do I use SSIS to do this?

If have any questions please ask.


2 Answers 2


There is a built in task for sending SMTP mail in SSIS. If you want to use a script task to send mail via SMTP the post below lists several ways to do what you are looking to do.



As Jason Pointed out, that to send email using SSIS, you have to use Script Task.

Below links with scripts will help you out.

  1. Send Mail in SSIS using GMail
  2. Send Email from SSIS with option to indicate Email User and Password

Not the answer you're looking for? Browse other questions tagged or ask your own question.