I am new to office 365 and i have a situation here. I need to get a report of all emails sent to some specific domains (e.g. @gmail.com) which has an attachment for a specific time. I need to get this report for last 1 month. I have been searching different blogs, but not able to find anything specific matching my requirement.
The reporting functionalities for email are fairly limited, so in general no, you cannot get this report in O365. You can query the message trace logs for data on external messages, but getting attachment information is only possible via the detailed trace logs (or if you have ATP enabled).