Re: PDF emailing


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by justin reynolds on March 19, 2007 at 10:04:47:

In Reply to: Re: PDF emailing posted by Grant Foraker on March 19, 2007 at 07:52:25:

blat is just a command line mailer; exchange is the mail server, so it handles all the delivery & so on.

to look at it another way: blat connects to [your mail server], logs in as [your user], and sends mail to [your recipient]. so, any NDR/auto-reply/whatever would come back to the original sender's ("your user"'s) mailbox.

can't provide any comet code, unfortunately. assuming you can call external programs through comet, though, it'd probably look something like this:

blat [path to your mail body] -to [recipient] -bcc [sender] -subject [your subject] -server [your server] -f [sender's 'from' address] -attach [path to your pdf attachment] -u [sender's username] -pw [sender's pass]

i assume that generating the pdf in the first place is handled by an external program, so i would imagine calling blat from within comet wouldn't be impossible.

alternatively, i guess you could connect to port 25, uuencode your pdf, and do things the really hard way..


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]