SSIS SendMail

  • If I use 'Database Mail' ('sp_send_dbmail') within MS SQL Server Management Studio the mails are sent successfully.

    Using the same SMTP server/address, the process of 'SendMail' fails within my SSIS package.

    Any ideas why?

  • Hi,

    can you pls post the error that you are getting when you perform the task using SSIS.

    Sriram

    Sriram

  • When I run the SSIS task the only error I get is:

    Error: 0xC002F304 at US Trades, Send Mail Task: An error occurred with the

    following error message: "Failure sending mail.".

    Error: 0xC002F304 at Collect FTP Files Successful, Send Mail Task: An error

    occurred with the following error message: "Failure sending mail.".

  • Hi,

    have you tried with basic settings in the send mail task.... without adding any files and all...

    check if there are any firewalls/ anti virus products

    check the port no.s

    Sriram

    Sriram

  • Thanks,

    IS there any log files I can create for send mail in SSIS?

  • you can create normal ssis package logs, rit?

    btw, did you check the port no.s, firewall and antivirus?

    Sriram

  • How do I set up the error logging in SSIS?

    I also found this information:

    McAffee Virus Scan Enterprise was running on the Server and by default is configured with 6 port blocking rules in the Access Protection settings. One of which is "Prevent mass mailing worms from sending mail" by disabling port 25.

    So im looking into this...

  • you found the issue, try to shutwon antivirus and then check the send mail task.

    and for logging, you can ssis menu -- ssis logging -- enable it to your desired location.

    Sriram

    Sriram

  • thanks but its not af all detailed, just says 'SendMail failed'

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply