Closed Julien22bzh closed 4 years ago
Hi Julien,
Based on the error, there seems to be an issue while sending the e-mail to the SMTP server. Please make sure that all the SMTP settings you provided are correct (username, password, SSL, port, server name), and also that the sender address is an address that's allowed as a sender in your SMTP server.
You could try using DBMail at your SQL Server to test the same SMTP settings and see if it works from there.
Also, I believe that setting the @timestamp_utc
parameter to an empty string could possibly cause an issue:
@timestamp_utc = '',
Please either set it to NULL
, or don't set it at all.
Hi Eitan,
Thanks for your response. I test a another SMTP software (JBMail plus 3.3) on the same server with same settings and email sent successfully.
After i tried with
@timestamp_utc = NULL,
but result is NOK,
Julien
I see. Unfortunately, the error message you got is not enough to properly troubleshoot the issue.
I just published a new release with improved error handling. Hopefully, you'll be able to see the actual underlying issue.
Please try this one: https://github.com/MadeiraData/sql-clr-ics/releases/tag/v2.2-beta
Eitan,
It's ok with new release. I obtain an EventID and i receive a calendar invitation without RSVP requirement.
Thanks for all. Julien
I see. Must've been an issue with the older version, then.
I'm glad it worked out!
Hi Eitan,
thanks for your job. I try your script but i have a problem to send email. I have this message :
I use this query : DECLARE @EventID nvarchar(255)
I test SMTP server and it's ok.
Can you help me please ?
Julien