Actually use html function
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
parent
48d3990043
commit
764ff918bd
2 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@ struct email_t{
|
||||||
int append_header(struct email_t* mail, const char* key, const char* value);
|
int append_header(struct email_t* mail, const char* key, const char* value);
|
||||||
int append_to_header(struct email_t* mail, const char* pair);
|
int append_to_header(struct email_t* mail, const char* pair);
|
||||||
int append_to_body(struct email_t* mail, const char* text);
|
int append_to_body(struct email_t* mail, const char* text);
|
||||||
|
int append_to_html_body(struct email_t* mail, const char* text);
|
||||||
int remove_mail(struct email_t* mail);
|
int remove_mail(struct email_t* mail);
|
||||||
|
|
||||||
struct email_t* get_root_mail(struct email_t* mail);
|
struct email_t* get_root_mail(struct email_t* mail);
|
||||||
|
|
|
@ -475,7 +475,7 @@ int replace_files(struct email_t* mail, const char* dirname, bool* created){
|
||||||
append_to_body(txt_app, text_buffer);
|
append_to_body(txt_app, text_buffer);
|
||||||
}
|
}
|
||||||
if(html_app != NULL){
|
if(html_app != NULL){
|
||||||
append_to_body(html_app, html_buffer);
|
append_to_html_body(html_app, html_buffer);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue