Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: sending email with plaintext and HTML

by edoc (Chaplain)
on Jan 19, 2004 at 12:21 UTC ( #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? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2022-01-24 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?