Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‘ref’ is not a member of ‘vmime’ #221

Open
dimkaip opened this issue Jul 7, 2019 · 0 comments
Open

‘ref’ is not a member of ‘vmime’ #221

dimkaip opened this issue Jul 7, 2019 · 0 comments

Comments

@dimkaip
Copy link

dimkaip commented Jul 7, 2019

Hi Vincent.
I am completely new to VMime.
Working with bellow code vmime works fine... I am in mint Linux and CodeBlocks.
class myObject: public vmime::object {
private: vmime::string m_name;
public: myObject(const vmime::string& name) : m_name(name) {}
void sayHello() {
std::cout << "Hello " << m_name << endl;
}
};
vmime::shared_ptr obj = vmime::make_shared("World!");
obj->sayHello();

But in sample
vmime::utility::url url("smtp://smtp.gmail.com");
vmime::ref vmime::net::transport tr = session->getTransport(url);
tr->setProperty("connection.tls", true);
...........
i am getting error ‘ref’ is not a member of ‘vmime’
Why is that?
Thank you
Jim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant