Email Send Error

Hi,

Sorry to open up an old topic.

I have to tried this, but, just by reading the code, only the first post have the part where we have to insert username and password. Were they have to be decoded?
Which code are the correct ones?
if we do not use username and password, how does it actually authenticate if I am the right sender?

Thanks.