MCPcopy
hub / github.com/scrapy/scrapy / _sent_ok

Method _sent_ok

scrapy/mail.py:167–179  ·  view source on GitHub ↗
(
        self, result: Any, to: list[str], cc: list[str], subject: str, nattachs: int
    )

Source from the content-addressed store, hash-verified

165 return dfd
166
167 def _sent_ok(
168 self, result: Any, to: list[str], cc: list[str], subject: str, nattachs: int
169 ) -> None:
170 logger.info(
171 "Mail sent OK: To=%(mailto)s Cc=%(mailcc)s "
172 'Subject="%(mailsubject)s" Attachs=%(mailattachs)d',
173 {
174 "mailto": to,
175 "mailcc": cc,
176 "mailsubject": subject,
177 "mailattachs": nattachs,
178 },
179 )
180
181 def _sent_failed(
182 self,

Callers

nothing calls this directly

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected