I don't know for sure, but maybe the code is interpreting it as a typical way you bring seperate variables together (The technical term is slipping me).

Question back at you, why don't you put the URL in a variable, that way it would be easy to change and find. Also you would be able to see what it looks like by printing it somewhere or something. I try to do this in seperate test code to make sure that I know what I am getting. I do realize that the URL is going to be static, but you may want to reuse the code for somethign else sometime, and finding the variables upfront and in technicolor may be of use. But then again, what do I know, I'm just a novice.

Something else I have used successfully is when the need for double quotes are used for printing, try using a single quote on the outside. This works pretty good in most instances and there is less need to backslash everything. This makes the code cleaner to look at. I guess what I am trying to say is to try and format it some other way that should work and see if it does. Goes back to the There's more than one way... thing.

Someone else may have a better input, but this is what I have for you for now. Hope it helps.

Paul


In reply to Re: MAIL::Sendmail Problem by Paulster2
in thread MAIL::Sendmail Problem - Updated by bilfurd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.