Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Rename attachment? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
BOD
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 21 December 2003 at 10:33am | IP Logged Quote BOD

Hi!

Files I want to attach have temporary filenames. Is it possible to attach these files specifying real (not temporary) names? Real names are stored in a database.

Thanks
Back to Top View BOD's Profile Search for other posts by BOD
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 December 2003 at 11:24am | IP Logged Quote Alex

AddAttachment method of SMTP objects supports optional parameter FilenameInMessage that allows to override attachment filename.

SMTP.AddAttachment "C:\data\file.tmp", "image/gif",,"picture.gif"
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide