Is it possible to format plain text emails with simple boldening without turning them into html emails?

Is it possible to format plain text emails with simple boldening without turning them into html emails?

Some code below I am trying to format though no type of tag so far works help!

            $subject = empty($post['email']) . $post['email'];
            $message = "Date:\r\n" . date('l, F jS, Y @ g:i:s a') . "\r\n\r\nName:\r\n" . $post['realname'];
sousflaiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
b0lsc0ttConnect With a Mentor IT ManagerCommented:
sousflai,

Thanks for clarifying the difference in the 2 questions.  Unfortunately there is no way to even just bold text in a text email message.  A common way to emphasize an area when you can only use text would be to use uppercase lettering, spacing or some symbols to draw the eye to it.  An all uppercase word or small phrase will draw attention.  Adding 4 spaces to "indent" a line or some  symbols, like and asteriks (*) or a the number sign (#).  The symbols especially work if you are trying to create a heading or something like it.  All uppercase characters will work if it is in a line.

I hope this helps.

bol

bol
0
 
Harisha M GCommented:
No
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
b0lsc0ttIT ManagerCommented:
sousflai,

No, text emails do not include formatting of any kind.  However the formatting you are referring to (bold characters) would be supported by most email programs and web mail sites and should not cause issues.  You can even send the message multipart, with basic text (no formatting) and with simple HTML for basic formatting.

Let me know if you have any questions.  I am not a PHP email expert, it appears that is the language you are using, but if you would like a sample of how to send a simple HTML email then let us know.  Please let me know if you need more information.

b0lsc0tt
0
 
Harisha M GCommented:
sousflai, do you have any problems here:
http://www.experts-exchange.com/Q_21899731.html
0
 
maUruCommented:
quick answer: no

plain text is just that plain text, and for good reason to, people without fancy html mail readers can only read text, people using ssh for example to read their mail off a unix server

i prefer plain text email, html annoys me, because a) it only works in certain terminals b) its a waste of bandwidth (a url link is much better) c) i sometimes plain dont like the formatting people choose
0
 
b0lsc0ttIT ManagerCommented:
@Mgh - Is this a duplicate question?  I read the question above, I'll admit just a quick scan, and it seems to be basically the same question and it is still open.

@Sousflai - If this is a duplicate question then there will be a problem since the combined points are over 500.  Let me know if you have questions about what to do in this case or if it is not a duplicate.

bol
0
 
sousflaiAuthor Commented:
I'm looking for two solutions one which is html mail and 1 which is text mail. I don't want to do too much with the text mail formatting just boldening, the html mail I'll probably leave till another day to get my head around as it's taken me some time to get the text mail version to work out! When I do the hmtl version if mg Harish's suggestion works, cool he gets the points, for now I'm just exploring the possibilities of text mail. I'm going to try to delete the first one, though the points are probably still relevant to mg Harish, I just can't work the code right now.
0
 
b0lsc0ttIT ManagerCommented:
I'm glad that I could help.  Was there something missing or incomplete in my replies or did you still have a question?  Just a little puzzled with the grade.  This section of EE's Help page (http://www.experts-exchange.com/help.jsp#hi73) may help if you are interested.

Thanks for the fun question.

bol
0
 
sousflaiAuthor Commented:
Good is Good!
0
 
b0lsc0ttIT ManagerCommented:
I don't want you to take the comment wrong.  Most important to me is that the question is solved.  However B may equal "good" in school but it is just equals "acceptable" here, in other words just average.  I don't want you to change it.  I was curious to see if you still needed help though.  If that wasn't the case then I wanted to point out that it can reflect poorly on those that view the question and answer in the future and can be disappointing to an expert that provides a thorough or informative answer.  In this case, "No, it won't work" would be a B answer.

Just offering a comment for you to think about after I noticed your grading history.  I'm really am glad that I could help.  Thanks for the fun question.  I hope you continue to have a great experience here and get the help you are looking for.

bol
0
 
sousflaiAuthor Commented:
no probs, comments taken on board
0
All Courses

From novice to tech pro — start learning today.