Setting up Auto Mail Forwarding using Outlook Mail Rest API - rest

Is it possible to set up Auto Mail Forwarding using Outlook Mail Rest API for Outlook 365 mailbox?
I need a way to do using a .Net console app.
Looking at the API documentation it only mentions how to forward a mail message, but not auto forwarding.

Related

Exchange POP3 has stopped allowing emails sent via GRAPH to be downloaded

In short, the Exchange (office 365) POP server is not allowing me to download messages that have been sent using the GRAPH api.
In full; we have a service that sends an email to an external service, and then looks for a response. This service currently uses smtp to send, and pop3 to receive the response, connecting to smtp.office365.com and outlook.office365.com respectively.
This was working fine until around 7am BST 02/07/2020, and now the POP3 is returning the error "-ERR Message corrupted".
I have logged into the account using outlook web and deleted the emails that were in there, but when the service sends a new email, and the response is sent, it reports the same error.
If I add the account to outlook as a pop3 mailbox, it also cant download the emails.
If however I send an email from another exchange mailbox using outlook, our service, and outlook is able to download it.
The remote service that is sending the response emails that we cant download using pop anymore is using the GRAPH api to send to the email.
So it seems that it is only emails sent using the GRAPH api that it is not allowing us to download.
I've raised this with Office 365 support, and they claim they don't support POP3, and it must be a development issue. I'm not convinced, but has anyone else had the same issue / have any ideas how to fix it?
So it appears that this is nothing to do with sending with GRAPH, but is to do with if you have set the replyTo option. This can be replicated by sending from Outlook, and using the "Direct Replies To" option. MS have now reproduced it, and are looking further into it.

How to configure chef to send emails via postfix using chef handlers

I am trying to configure chef handlers to send email whenever a chef client run fails following https://docs.chef.io/handlers.html . In the example here email is being sent via SMTP server. I don't have SMTP Server and wanted some way to send email using postfix. How can I configure helper.rb in that case? Or is there any other way to send emails with lesser configurations?
No, you'll need a relay host to send through. You can use GMail or something like AWS SES, Mailgun, Sendgrid, or Sparkpost though.

send/receive mail from OWIN self-host webapp with custom domain

I have a domain, a Console Application with OWIN self-host.
The Console app host on AWS EC2 server windows server 2012.
My mail feature of server is sending Verification Mail
I've google many owin mail send or receive infomation,
but all of them are smtp/pop3 on google or some other smtp/pop3 server.
Is it possible to do send / receive mail in a console with current ip or custom domain?
I've try method.
Use hMailServer:
No luck in this. can't send/receive any mail, and set gmail for add smtp and pop3,
but fail.
the error msg: "We were unable to locate the other domain. Please contact your other provider."
Use AWS SES:
Still fail on this.
AWS SES need vail domain with anyaccount#domain, but i have no mail feature on my server.
Use my gmail:
Connect gmail need SSL. I have no SSL.
And research hours for host ssl on OWIN self-host,
Is there other solution for this?
I set a DNS MX Record from my DNS provider.
Now,I can send/receive mail with hamilserver and gmail smtp/pop3.
not best solution, but my problem solved.

AWS SES - Sending Emails

I have created an SES Account and I have verifed my domain - easy as the A record is already with AWS route53. I now need to send emails. Note: I have also created an smtp user account and have the keys.
Question - can I use any (lets say PHP as I like PHP) php script to send emails via SES?
I have found a couple of sites that appear to have scripts for SES like http://www.orderingdisorder.com/aws/ses/ but wanted to ask if now my domain is verified and I have user/keys etc is SES really just an SMTP gateway and I can use any (working) script to send emails via this interface?
thx
You can use their SMTP gateway or send emails via the AWS SDK for PHP programmatically. Just download the SDK, include it in your PHP file and you're good to go.
http://aws.amazon.com/about-aws/whats-new/2011/12/13/amazon-simple-email-service-gets-simpler-with-smtp/
http://docs.aws.amazon.com/AWSSDKforPHP/latest/#i=AmazonSES
http://aws.amazon.com/sdkforphp/

Can I receive email using the Plesk API?

I want to receive emails using the Plesk API. Is this possible?
You can use Plesk API for managing mailbox settings. To receive messages from your mailbox, you do not need Plesk API. You should connect mailboxes through IMAP or POP3 protocols