创建新邮箱地址 Args: config: 配置参数,如邮箱前缀、域名等 Returns: 包含邮箱信息的字典,至少包含: - email: 邮箱地址 - service_id: 邮箱服务中的 ID - token/credentials: 访问凭证(如果需要) Raises: EmailServiceError: 创建失败
(self, config: Dict[str, Any] = None)
| 58 | |
| 59 | @abc.abstractmethod |
| 60 | def create_email(self, config: Dict[str, Any] = None) -> Dict[str, Any]: |
| 61 | """ |
| 62 | 创建新邮箱地址 |
| 63 | |
| 64 | Args: |
| 65 | config: 配置参数,如邮箱前缀、域名等 |
| 66 | |
| 67 | Returns: |
| 68 | 包含邮箱信息的字典,至少包含: |
| 69 | - email: 邮箱地址 |
| 70 | - service_id: 邮箱服务中的 ID |
| 71 | - token/credentials: 访问凭证(如果需要) |
| 72 | |
| 73 | Raises: |
| 74 | EmailServiceError: 创建失败 |
| 75 | """ |
| 76 | pass |
| 77 | |
| 78 | @abc.abstractmethod |
| 79 | def get_verification_code( |
no outgoing calls
no test coverage detected