Cloud Mail 2020 Python Edition

Questions / Feedback?

cc Property

A comma separated list of addresses for carbon copies (optional).


def get_cc() -> str: ...
def set_cc(value: str) -> None: ...

cc = property(get_cc, set_cc)

Default Value



This property specifies a comma separated list of destinations for carbon copies of the mail message. A copy of the message is sent to each destination, and a Cc SMTP header is created containing the destination addresses. This header is sent to every recipient of the message. If you don't want to copy this information to every recipient, then use blind carbon copies instead (see the description of the b_cc).

The class will return an error if the mail_server returns an error code about any email address specified in send_to or cc but it will only fire an on_error event if the same happens with an email address specified in b_cc.

If the resulting header is longer than MaxHeaderLength, then it is folded according to RFC 822 specifications.

NOTE: You must clear the message_recipients properties before setting this property to remove previous recipients.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 Python Edition - Version 20.0 [Build 8308]