Lines Matching defs:from
30 * When using from any other thread than the tcpip_thread (for NO_SYS==0), use
242 const char* from;
257 /** amount of data from body already sent */
501 if (smtp_verify(s->from, s->from_len, 0) != ERR_OK) {
574 * @param from source email address (must be NULL-terminated)
585 smtp_send_mail(const char* from, const char* to, const char* subject, const char* body,
589 size_t from_len = strlen(from);
611 s->from = sfrom = (char*)s + sizeof(struct smtp_session);
621 MEMCPY(sfrom, from, from_len + 1);
634 * Same as smtp_send_mail, but doesn't copy from, to, subject and body into
640 smtp_send_mail_static(const char *from, const char* to, const char* subject,
654 s->from = from;
655 len = strlen(from);
680 * To be used with tcpip_callback to send mail from interrupt context or from
704 err = smtp_send_mail_static(req->from, req->to, req->subject, req->body,
707 err = smtp_send_mail(req->from, req->to, req->subject, req->body,
1150 MEMCPY(target, s->from, s->from_len);
1187 MEMCPY(target, s->from, s->from_len);
1401 /* nothing to do, wait for connection closed from server */
1425 LWIP_DEBUGF(SMTP_DEBUG_STATE, ("smtp_process: changing state from %s to %s\n",
1448 smtp_send_bodyh_data(struct altcp_pcb *pcb, const char **from, u16_t *howmany)
1454 err = altcp_write(pcb, *from, len, TCP_WRITE_FLAG_COPY);
1456 *from += len;
1468 smtp_send_mail_bodycback(const char *from, const char* to, const char* subject,
1488 s->from = from;
1489 len = strlen(from);
1519 /* resume any leftovers from prior memory constraints */