Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more code examples #10

Open
7 tasks
EitanBlumin opened this issue May 26, 2019 · 2 comments
Open
7 tasks

Add more code examples #10

EitanBlumin opened this issue May 26, 2019 · 2 comments
Assignees
Labels
help wanted Extra attention is needed
Milestone

Comments

@EitanBlumin
Copy link
Collaborator

Add more use cases under "Examples" (each one would need to be tested and verified first):

  • Update existing event using various method types: REQUEST, ADD, REFRESH...
  • Send HTML body using images uploaded with file_attachments
  • Send TEXT body
  • Example using SendGrid SMTP settings
  • An example using default credentials
  • Using profile_name to auto-complete SMTP settings
  • Using ics_contents to send custom VCALENDAR document
@EitanBlumin EitanBlumin added the help wanted Extra attention is needed label May 26, 2019
@EitanBlumin EitanBlumin added this to the V2.0 milestone May 26, 2019
@EitanBlumin EitanBlumin self-assigned this May 26, 2019
@vhu408
Copy link

vhu408 commented Apr 15, 2020

Hi Eitan,

Thanks for your work. Wonder if you can comment on the below and if there's something I'm doing wrong.

1.) I 've found that if I use an HTML body email
e.g..
declare @html nvarchar(max)=' ..

...
'
exec sp_send_calendar_event
...
@Body=@html
...
GO
The result is an email msg not an event with an attached .ics file for the event (shows in the email as "not supported calendar message.ics") when the HTML is more "complex".. perhaps something to do with formatting(.. don't know.)

2.) I've found that if I use an HTML body that makes use of a CID image (and thus the image is attached..)
E.g..
declare @html nvarchar(max)=' ..... '
exec sp_send_calendar_event
...
@Body=@html,
@file_attachments = 'd:\dir1\picture.png'
...
GO
The result is merely an email msg, even the .ics attachment is missing.

It seems like an event is not created when the HTML is more "complex" or an attachment of any kind if included. And even with the emails (not events), the .ics file is sometime present and sometimes depending on if an attachment is included.

@EitanBlumin
Copy link
Collaborator Author

Thanks, @vhu408 .
I created a separate issue for you: #16
Let's continue correspondence there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants