Issue connecting SmtpClient
-
@SGaist
Confused on what you mean by that, I am attempting to integrate this into a pre-existing project to send emails when certain issues arise, to warn someone who is not using the software of an issue on the computer...are you saying to clone the repository, and then move my project into the cloned repository? -
@SGaist
I hate to be annoying, but I am just still confused. How would you go about using this in the correct way then? I'm sure it's super simple, and I'll kick myself once you help me but I just do not see it right now..Not looking for an answer but I guess just more of a push in the right direction..sorry again for making a simple problem more difficult then it needs to be -
Open SMTPEmail.pro with Qt Creator, build it for debug and release. Install it somewhere central and then use LIBS to setup its use with your project.
-
@orsini29 said in Issue connecting SmtpClient:
and just reference the *.pro file within my EmailTest.pro file, by using the LIBS keyword, correct?
No, you do not reference any pro files via LIBS. You reference libraries. Please read https://doc.qt.io/qt-6/qmake-variable-reference.html#libs
-
-
Thanks for your assistance, got it all figured out. Sorry for the elementary questions, but thanks again!!
For anyone in the future, @jsulm had a useful link to point me in the correct direction with referencing the library, along with @SGaist explaining about compiling the project, rather then just using the source files.
-
Hello, @orsini29 I am encountering the same issue and I am lost as well. I have read everything that has been suggested but I am still not sure how to concretely implement stmp into my project. Could you be more specific on how you have manage to do it please ? It would be a great help to me, thanks :)