Mailer.h 827 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #ifndef CRYINCLUDE_EDITOR_UTIL_MAILER_H
  9. #define CRYINCLUDE_EDITOR_UTIL_MAILER_H
  10. #pragma once
  11. //////////////////////////////////////////////////////////////////////////
  12. class CMailer
  13. {
  14. public:
  15. static bool SendMail(const char* _subject, // E-Mail Subject
  16. const char* _messageBody, // Message Text
  17. const std::vector<const char*>& _recipients, // All Recipients' Addresses
  18. const std::vector<const char*>& _attachments, // All File Attachments
  19. bool bShowDialog); // Whether to allow editing by user
  20. };
  21. #endif // CRYINCLUDE_EDITOR_UTIL_MAILER_H