Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Net::SMTP::SSL - sending HTML

by edimusrex (Monk)
on Jul 10, 2015 at 17:34 UTC ( #1134200=note: print w/replies, xml ) Need Help??


in reply to Net::SMTP::SSL - sending HTML

I think it doesn't like the line breaks in my HTML. I will try to strip all of that out of my HTML and update my status.

Thanks

Replies are listed 'Best First'.
Re^2: Net::SMTP::SSL - sending HTML
by stevieb (Canon) on Jul 10, 2015 at 17:37 UTC

    Yes, start off with only a tiny bit of basic HTML, then go from there. Just add a block at a time to the $body variable until you hit your failure.

      The html is huge, I am assuming the issue is with the quotes within the HTML but not sure yet. I will test that theory. I am able to send a simple

      <html> <body> <p>This is just a test</p> </body> </html>

      I will try to see if it breaks if I add "style="something""

      Thanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-12-07 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?