IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Prestwood IT
Search Group:

Advanced
-Collapse +Expand Prestwood IT Store

Prestwood eMagazine

March Edition
Subscribe now! It's Free!
Enter your email:

   ► KBPrestwood IT Knowledge Base  Print This    All Groups  

Prestwood IT Flashcards Library

These FlashCards are contributed by you (our online community members). They are organized by our knowledge base topics. Specifically, by the Prestwood IT sub-topics.

Contribute a Flashcard

4 Prestwood IT Solutions FlashCards

Group: Prestwood IT Solutions


Topic: psSendMail DLL

Q&A: Connect and PowerBuilder Reserved Word
Question: Connect is one of the psSendMail API calls. Unfortunately, Connect is also a reserved word in PowerBuilder. How can I use psSendMail with PowerBuilder?

Answer:

Connect is, indeed, one of the calls in psSendMail v1. If Connect is also a reserved word in your development platform, this is a problem.

Version 2.0 of psSendMail introduces a new API, and we recommend that all psSendMail users migrate their code to use the new calls in the v2 API. Connect is not used in the new, v2 API.

Note: Connect, and the other v1 calls are retained in v2 for backward compatibility only.

Posted By Wes Peterson, Post #100703, KB Topic: psSendMail DLL
Q&A: Does psSendMail v2 support HTML In-line Images?
Question: v2 of psSendMail now allows sending HTML message bodies. Can I include embedded images?

Answer:

No, not yet.

This is one of the few limitations of psSendMail v2's HTML support, and you can easily get around it by including an image hyperlink - to an image accessible on the web - within your message's HTML body.

Why are embedded images not yet supported?

Many psSendMail v1 users urgently needed two other importart features: authentication, and a little help getting their emails past the "spam police." We focused our efforts on those features first, then added HTML support, and shipped v2 as quickly as possible.

Embedded images are planned for a future iteration of psSendMail.

Posted By Wes Peterson, Post #100777, KB Topic: psSendMail DLL
Tip: psSendMail v2 - How to Compose HTML Messages
psSendMail v2 supports HTML message bodies. But it does not offer a WYSWYG HTML editor. It is, after all, "just" a DLL. A great way to get started constructing HTML messages is to simply use your favorite HTML authoring tool. Compose your message, then switch to your authoring tool's source view. Copy everything between (but not including) the opening and closing "" tags into your psSendMail message body. Of course, since psSendMail is targeted at developers, you'll probably be constructing your HTML messages programatically. The technique just described will give you a precise idea of what needs to go into your HTML messages. Tip: Be sure to set the psSendMail HTML parameter to True!
Posted By Wes Peterson, Post #100776, KB Topic: psSendMail DLL
Tip: psSendMain v2 - What Happened to My Line Breaks?
Now that psSendMain supports both HTML and plain text message bodies, as a developer, you must use the HTML parameter properly. If you create the body of your message as you would plain text, but set the HTML parameter to True, the receiving email program will do exactly what web browsers do: It will treat your CR and LF characters as white space, not line breaks. So be sure the HTML parameter is set to False before sending plain text messages.
Posted By Wes Peterson, Post #100775, KB Topic: psSendMail DLL
-
   Contact Us!
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


Go ahead!   Use Us! Call: 916-726-5675 


©1995-2019 Prestwood IT Solutions.   [Security & Privacy]