Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 01 FEB 2002 08:40:38PM Barry Stevens wrote:

Doing a bit of R&D (on client behalf) in Batch sending e-mail using MAPISendMail.

I want to send statments to customers using HTML output from OIPI and use that as the e-mail body, as opposed to an attachment.

I was first off trying to embed a simple HTML script in the BODY but looking at the result, apears I need to be able to set the format? of the e-mail to HTML as opposed to text. Using MS OutLook Express.

Barry


At 01 FEB 2002 09:49PM Frank Tomeo wrote:

Barry,

I may be able to assist you in this, but I've never gotten the OI mail functions and OE to work together. I have always had to use Outlook for it to work. If you don't mind me asking, how did you get OE to work?

[email protected]

SRP Computer Solutions, Inc.


At 01 FEB 2002 10:56PM Barry Stevens wrote:

E-mail ends up in the outbox of MS OutLook express.

* function test_send_email(Void) declare function Send_Email equ CrLf$ to \0D0A\ [email protected]" CC=" [email protected]" Subject=Testing…" Body=This is a Test line":CrLf$:"This is second line" *Embedded HTML does seen to work *Need to flag e-mail as HTML format. Ret=Send_Email(SendTo, CC, From, Subject, Body) return Ret

function Send_Email(SendTo, CC, From, Subject, Body)

equate No$ to 0

equate Yes$ to 1

$Insert MAPI_EQUATES

Declare subroutine Get_Status

Declare function MAPILogon, MAPISendMail, MAPILogoff

MsgSent=No$

If Assigned(SendTo) else SendTo="

If Assigned(CC) else CC="

If Assigned(From) else From="

If Assigned(Subject) else Subject="

If Assigned(Body) else Body="

If SendTo GT "" then

If Body GT "" then
	If MAPILogon(Session, @Window, "MS Exchange Settings", "") then
		Message='
		Message=Subject
		Message=SendTo
		Message=CC
		Message=From
		Message=Body
		Message=IPM.Microsoft Mail.Note"
		Message=MAPI_RECEIPT_REQUESTED$
		If MAPISendMail(0, @Window, 0, Message) then
			MsgSent=Yes$
		end else
			MsgSent=No$
		end
		Status=MAPILogoff(Session, @Window)
	end
end

end

Return MsgSent

**

Mmm, just realised now, that when received e-mail sent to myself, no receipt request was asked for.

Barry


At 04 FEB 2002 02:39PM Frank Tomeo wrote:

Barry,

Have you considered using the OIPI to print to an Acrobat .PDF file and email that as an attachment? Is that an option for you or do you need HTML for a specific reason?

[email protected]

SRP Computer Solutions


At 04 FEB 2002 02:39PM Matt Sorrell wrote:

Barry,

You need to change the email headers to tell the client that you are sending HTML email. Have you checked the POS_TYPE$ values to see if there is another option besides "Note"? There might be a setting there for an HTML email. Otherwise, you need to set the header mime-type to tell it you're sending text/html instead of test/ascii.

HTH,

[email protected]

Greyhound Lines, Inc.


At 04 FEB 2002 04:18PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

You need to incorporate the MIME information into the mail for Outlook Express to validate it as HTML.

The Sprezzatura Group

World Leaders in all things RevSoft


At 04 FEB 2002 10:06PM Barry Stevens wrote:

]]do you need HTML for a specific reason

Thanks for the PDF suggestion. Do you have to have any PDF create licence, that Acrobat, isn't it.

Barry


At 04 FEB 2002 10:07PM Barry Stevens wrote:

Out of my depth here, but, I will do some digging.

Barry


At 04 FEB 2002 10:09PM Barry Stevens wrote:

So, that means it cant be done….(unless your Sprezzatura, of course )

Barry


At 04 FEB 2002 11:01PM Frank Tomeo wrote:

Barry,

There are two ways to get PDF output from OI:

1) Use the Adobe Acrobat Distiller and "print" to the distiller, which will create a file that you can email. We've used this many times.

2) Use OIPI Professional which now has a PDF output option. We've not tested this new feature though.

[email protected]

SRP Computer Solutions, Inc.


At 04 FEB 2002 11:15PM Mike Ruane wrote:

OIPI PDF works great.

There's even a white paper about it here

Mike

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/7296bf59066618c288256b54000936bb.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1