Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I want to be able to attach a PDF file to an email I am sending using JAVA class from a form I created using
Form 6i. The class is imported into the builder and the package generated is being called from a trigger attached to a button.I am using the smtpserver in order to send the email. Following is part of the java code:
public class SendMail
{
/**
* SendMail : Send an E-mail with SMTP
*
* @param out The Printwriter
* @param sSmtpServer Smtp server (ex: mailhost.uk.oracle.com)
* @param sFrom The sender
* @param sTo The destination
* @param sSubject The subject
* @param sMessage The message
* @return "success" or an error message.
*/
I want to know the syntax I need to use for declaring an 'attach' param and how to define it later on in the code where I create the email.
Is there any other way I can do this without having to use
UUENCODE?
Your help is greatly appreciated.
Thank You..
I want to be able to attach a PDF file to an email I am sending using JAVA class from a form I created using
Form 6i. The class is imported into the builder and the package generated is being called from a trigger attached to a button.I am using the smtpserver in order to send the email. Following is part of the java code:
public class SendMail
{
/**
* SendMail : Send an E-mail with SMTP
*
* @param out The Printwriter
* @param sSmtpServer Smtp server (ex: mailhost.uk.oracle.com)
* @param sFrom The sender
* @param sTo The destination
* @param sSubject The subject
* @param sMessage The message
* @return "success" or an error message.
*/
I want to know the syntax I need to use for declaring an 'attach' param and how to define it later on in the code where I create the email.
Is there any other way I can do this without having to use
UUENCODE?
Your help is greatly appreciated.
Thank You..