cutelyst / simple-mail

An SMTP library written in C++ for Qt. Allows applications to send emails (MIME with text, html, attachments, inline files, etc.) via SMTP. Supports SSL and SMTP authentication.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Erros in async1.cpp

Loclay opened this issue · comments

/home/user/simple-mail/demos/async1/async1.cpp:22:105: error: incorrect converting from «const char*» в «int» [-fpermissive]
message.setSender(SimpleMail::EmailAddress(QLatin1String("your_email_address@gmail.com", "Your Name")));

I changed "Your Name" to a number, and compilation ended without errors.

I'm not a programmer, I can't check where I closing parenthesis.

Ah now I noticed that this was on one of the demos, it's fixed in master.
Thanks