SMTP transport with e-mail address in DataBase

View: New views
2 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: SMTP transport with e-mail address in DataBase

by bokc bokc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks!! It realy help me. I can now send e-mail.

But I have problem for the "to" attribut. I don't know how to chage it.

I try to do this :
               Properties prop = endPointURISmtp.getParams();
                prop.put("to", session.getFormVersion().getForm().getProject().getSupportEmail());

But it not good.

Do you know how to do the change?

Youkoun.


2008/7/7 yaravind <yaravind@...>:

check this thread.....

http://www.nabble.com/Sharing-a-solution-for-creating-dynamic-TCP-endpoints-to17085030.html
--
View this message in context: http://www.nabble.com/SMTP-transport-with-e-mail-address-in-DataBase-tp18153616p18321703.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




RE: SMTP transport with e-mail address in DataBase

by antoine.borg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
 
While the "to" field is available on the outbound endpoint, you can also encode it into the address for the endpoint, i.e., for the endpoint URI:
 
 
HTH
 
A
 
Antoine Borg, Senior Consultant | Tel: +356 21334457 | Fax: +356 21 334156
ricston Ltd., Lincoln, 7 Ferdinand Grech Street, Lija LJA1142, MALTA
email: antoine.borgantoine.borg@... | blog: blog.ricston.com | web: ricston.com 
 


From: bokc bokc [mailto:youkoun@...]
Sent: Tuesday, July 08, 2008 11:43 AM
To: user@...
Subject: Re: [mule-user] SMTP transport with e-mail address in DataBase

Hi,

Thanks!! It realy help me. I can now send e-mail.

But I have problem for the "to" attribut. I don't know how to chage it.

I try to do this :
               Properties prop = endPointURISmtp.getParams();
                prop.put("to", session.getFormVersion().getForm().getProject().getSupportEmail());

But it not good.

Do you know how to do the change?

Youkoun.


2008/7/7 yaravind <yaravind@...>:

check this thread.....

http://www.nabble.com/Sharing-a-solution-for-creating-dynamic-TCP-endpoints-to17085030.html
--
View this message in context: http://www.nabble.com/SMTP-transport-with-e-mail-address-in-DataBase-tp18153616p18321703.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



< Prev | 1 - 2 | Next >