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

#7 Allow to receive ItemId and support calendar refresh #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

johnwiichang
Copy link

#7 Allow to receive ItemId and support calendar refresh
and also support downgrade when ntlm is selected

@mhewedy
Copy link
Owner

mhewedy commented Aug 5, 2021

Sorry didn't notice this... I will to get it meeged soon

@mhewedy mhewedy self-requested a review August 5, 2021 23:28
@@ -105,7 +105,12 @@ func (c *client) SendAndReceive(body []byte) ([]byte, error) {

func applyConfig(config *Config, client *http.Client) {
if config.NTLM {
client.Transport = ntlmssp.Negotiator{}
client.Transport = ntlmssp.Negotiator{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you elaborate more on this?

}

// CreateMessageItem
// https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitem-operation-email-message
func CreateMessageItem(c Client, m ...Message) error {
func CreateMessageItem(c Client, m ...Message) ([]ItemId, error) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please move ItemId from get_room_lists.go to common.go?

RequiredAttendees: []ews.Attendees{{Attendee: requiredAttendees}},
OptionalAttendees: []ews.Attendees{{Attendee: optionalAttendees}},
Resources: []ews.Attendees{{Attendee: room}},
// ReminderIsSet: duration != 0,
Copy link
Owner

@mhewedy mhewedy Aug 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you commenting these? at least you might want to pass as options instead.

Copy link
Owner

@mhewedy mhewedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR ... much appreciated.

@mhewedy
Copy link
Owner

mhewedy commented Aug 9, 2021

@johnwiichang Do you mind fix the failing test cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants