Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PB and MAPI

3 posts in Objects Last posting was on 2005-03-01 14:19:32.0Z
Mark van Niekerk Posted on 2005-02-22 13:40:45.0Z
Sender: 884.421b356d.1804289383@sybase.com
From: Mark van Niekerk
Newsgroups: sybase.public.powerbuilder.objects
Subject: PB and MAPI
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <421b365d.88e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 22 Feb 2005 05:40:45 -0800
X-Trace: forums-1-dub 1109079645 10.22.241.41 (22 Feb 2005 05:40:45 -0800)
X-Original-Trace: 22 Feb 2005 05:40:45 -0800, 10.22.241.41
Lines: 3
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8220
Article PK: 735485

Does anyboby out there have an example of how one can format
the body of an email with text and graphics using the PB
mailmessage object, etc. and MAPI?


Brad Wery Posted on 2005-02-22 15:19:36.0Z
From: Brad Wery <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: PB and MAPI
References: <421b365d.88e.1681692777@sybase.com>
In-Reply-To: <421b365d.88e.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ugg10.unitedgrain.ca
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <421b4d88$1@forums-1-dub>
Date: 22 Feb 2005 07:19:36 -0800
X-Trace: forums-1-dub 1109085576 165.23.247.49 (22 Feb 2005 07:19:36 -0800)
X-Original-Trace: 22 Feb 2005 07:19:36 -0800, ugg10.unitedgrain.ca
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8221
Article PK: 735486

It sounds like you want to send HTML messages. I believe that MAPI only
supports text. You will probably have to send your email via an SMTP
component.

Personally, I like this approach better because you are not dependant on
the mail client that is or is not installed.

Brad

Mark van Niekerk wrote:
> Does anyboby out there have an example of how one can format
> the body of an email with text and graphics using the PB
> mailmessage object, etc. and MAPI?


Mark van Niekerk Posted on 2005-03-01 14:19:32.0Z
Sender: 3551.4222c943.1804289383@sybase.com
From: Mark van Niekerk
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: PB and MAPI
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <422479f0.4739.1681692777@sybase.com>
References: <421b4d88$1@forums-1-dub>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 1 Mar 2005 06:19:28 -0800, 10.22.241.42
Lines: 20
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Mar 2005 06:19:29 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Mar 2005 06:19:32 -0800
X-Trace: forums-1-dub 1109686772 10.22.108.75 (1 Mar 2005 06:19:32 -0800)
X-Original-Trace: 1 Mar 2005 06:19:32 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8239
Article PK: 735501

Thanks Brad

Will give it a go.

> It sounds like you want to send HTML messages. I believe
> that MAPI only supports text. You will probably have to
> send your email via an SMTP component.
>
> Personally, I like this approach better because you are
> not dependant on the mail client that is or is not
> installed.
>
> Brad
>
> Mark van Niekerk wrote:
> > Does anyboby out there have an example of how one can
> > format the body of an email with text and graphics using
> > the PB mailmessage object, etc. and MAPI?