I do have a win32 system (I think I mentioned it before).
but actually the documentation also says
On Win32 systems the default setting is equivalent to:
MIME::Lite->send("smtp");
so... ?
Anyway just so I won't skip any possibility,
I tried to sub the
MIME::Lite->send('sendmail', 'C:\\xampp\xampplite\sendmail\sendmail.exe');
line for
MIME::Lite->send('smtp','C:\\xampp\xampplite\sendmail\sendmail.exe');
making it die saying:
SMTP Failed to connect to mail server: Invalid argument
The same goes when I try
MIME::Lite->send('smtp','sendmail','C:\\xampp\xampplite\sendmail\sendmail.exe');
So just to be safe I even tried
MIME::Lite->send('smtp');
which dies saying
class method send must have HOW... arguments
I have no idea whats the problem.
Also I find my code exactly like in the documentation as it is a copy/paste of it with the from/to strings changed.
If you find my code that off-base, please tell me how to fix it.