Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: sending email with plaintext and HTML

by edoc (Chaplain)
on Jan 19, 2004 at 12:21 UTC ( [id://322332]=note: print w/replies, xml ) Need Help??


in reply to sending email with plaintext and HTML

remove any and all spaces before *END*, it needs to be hard against the left, it cannot be indented at all.

cheers,

J

  • Comment on Re: sending email with plaintext and HTML

Replies are listed 'Best First'.
Re: Re: sending email with plaintext and HTML
by Aragorn (Curate) on Jan 19, 2004 at 12:38 UTC
    Well, it can, but then you would have to include the same amount of spaces in the quoted string:
    print << ' END'; Text goes here... END
    And to have the actual text indented, you'd have to so some search/replace:
    my $text; ($text = <<' END') =~ s/^\s+//gm; Indented text END

    Arjen

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://322332]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-25 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found