priPrinter: Sending EMail - priPrinter

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sending EMail How to send Mails

#1 User is offline   MarioStuck 

  • Newbie
  • Pip
  • Group: Senior Members
  • Posts: 2
  • Joined: 13-July 17

Posted 13 July 2017 - 02:56 PM

Hi, just evaluating priprint and the scripting.

I've tried to send an email, but this code will not work correct (taken from the examples):

local mail={dialog=1,to="bill@somecompany.com",subject="PDF File"};
//mail.to+=";bill@somecompany.com"
mail.file <- saveFileName;
mail.body <- "Dear Customer\nPlease read attached document\n\nThank you,\npriPrinter Script";
mail.dialog=0;
SendMail(mail);

The email will be generated and send thru Outlook with a warning. At last Outlook (Exchange server) reports, that its not possible to send this mail.

Is there a way to send via smtp?

Thanks in advance

Mario
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  1. Google