in reply to Re: Re: Re: Re: Using MIME-Lite to send attachment
in thread Using MIME-Lite to send attachment
The error message actually pinpoints it for you. Problem on line 19.....Might be runaway line near '' on line >>>18<<<. The problem is that the \ char ESCAPES other characters so if you want a LITERAL \ you need to type \\ Note that single quotes and backslashes may cause you confusion. See fix below:
# ***** This is the problem ***** # Path =>'C:\a\cursors\', # ***** This works, note \\ and double quotes " ***** Path => "C:\\a\\cursors\\",
Note that \\ in Win32 is a pain. Unless you are executing stuff through the shell using backtics or system you can just use / ie open FILE, "C:/WINNT/system32/some.file" works just fine.
With the error messages they look complex but the problem is usually trivial. Missing ; Forgetting to close quotes (or stating with " and ending with ' or vice versa) and missing braces { } are the most common culprits.
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Using MIME-Lite to send attachment
by rscott212 (Sexton) on Apr 13, 2004 at 01:59 UTC | |
by tachyon (Chancellor) on Apr 13, 2004 at 02:14 UTC | |
by tachyon (Chancellor) on Apr 13, 2004 at 03:16 UTC |