output to email option

texasP

New Member
we are using eb2.1 sp5 gui version . how do i set up email option whereby users can send the output of the report to email option ( email option will prompt email address of recipents ).

in other words , instead of sending output to printer or page, i want to email it .

thanks!!
 
If it's the same as what we have, you need to setup the email preference for the user. I have a problem that I can't get the mail option to work because the wmailto program I'm using comes back as saying there is an error regarding "we do not relay". If anyone has a solution to that problem, I'd like to hear about it.
 
hello,
There are many softwares available in the market through which we can send the mails using dos. We are using "NetMailBot" , it is very efficient.
It includes everything , like you can send the attachment also... Trial version available on net....
 
Let me preface this by saying that I am new to the administrator side of QAD. How do you use Netmailbot with the email preferences of QAD. I need to read more or breakdown and go to some training classes.
 
maybe I can give you a example .

For example :


DEFINE NEW SHARED VAR objSession AS COM-HANDLE.
DEFINE NEW SHARED VAR objMessage AS COM-HANDLE.
DEFINE NEW SHARED VAR objRecip AS COM-HANDLE.

CREATE "Outlook.Application" objSession.
objMessage = objSession:CreateItem(0).
objMessage:Subject = "ERP HMTL Mail Test".

output to c:\XXXX.txt .
for each ......

output close .


objMessage:attachments:add("C:\XXXX.txt").

objRecip = objMessage:Recipients:Add("email address").

objMessage:Save.
objMessage:Send.
RELEASE OBJECT objRecip.
RELEASE OBJECT objMessage.
RELEASE OBJECT objSession.
 
using wmailto -init does it throws a test message.?


When I use wmailto -init and enter in all my information, the test message comes back with:

wmailto: Error: Success (SMTP server error: "571 user@xxxxx.com prohibited. We do not relay".)

Any help with this would be appreciated. We have an email hosting service and no Exchange server.

Thanks.
 
I'm not familiar with this exact mail component - but I have used others in the past. See if the component will allow authenication when sending.

Think of it as you being logged to the mail server via Outlook, web, etc. When sending mail YOU are the authenicated user. When your application sends without proper authenication, you can be viewed as a spammer. Something like this . . . . (I'm new to progress - below is VB.NET)

Dim message As New MailMessage("sender@sender.com", "rcpt@recipient.com")
Dim SmtpClient As New SmtpClient("IPAddress")
message.Subject = "Subject Email"
message.Body = "<H2>Testing HTML Email</H2>"
message.IsBodyHtml = True
SmtpClient.Credentials = new NetworkCredentials("sender@sender.com","password")
SmtpClient.Send(message)
 
Yes, I believe the authentication is the issue as I have another command line based email that works, mainly because it has authentication with it.
 
Back
Top