BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-09-2007, 07:11 AM   #1 (permalink)
New Member
 
Join Date: Feb 2006
Model: 7290
Carrier: Vodafone
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing replyto email address

Please Login to Remove!

Hi,

When I send an email to a customer, I want to change "Reply to" email address from my email address to a different email address. Is it possible to do this programatically.

regards,

troy
Offline  
Old 10-09-2007, 08:04 AM   #2 (permalink)
New Member
 
Join Date: Feb 2006
Model: 7290
Carrier: Vodafone
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

anyone

Last edited by troy : 10-11-2007 at 06:49 AM.
Offline  
Old 10-11-2007, 06:49 AM   #3 (permalink)
New Member
 
Join Date: Feb 2006
Model: 7290
Carrier: Vodafone
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Help

Hi,

My code is as follows where I set the Reply-To email address to a different email address but everytime I open my email and select the Reply option, in the "To" field I get the email address from which the email was sent ??
Code:
// get handhelds email address
            String strAddr = Session.getDefaultInstance().getStore().getServiceConfiguration().getEmailAddress();
 
             Message oMsg = new Message();       
             
             String strSubject = _"test";
             oMsg.setSubject(strSubject);
             
             Address oAddr = new Address(strAddr, strAddr);
             oMsg.addRecipients(Message.RecipientType.TO,
                                 new Address[]{oAddr});
                                 
             String strTPEntry="xyz@yahoo.com";
            
             Address TPAddr = new Address(strTPEntry,strTPEntry); 
             
             oMsg.setReplyTo(new Address[]{TPAddr});
Can somebody help me with this ??
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

8 x CM 8164 DRAM 64kx1 164 4864 IC Apple IIe Commodore 64 Oric IBM PC Soviet Era
$9.99
8 x CM 8164 DRAM 64kx1 164 4864 IC Apple IIe Commodore 64 Oric IBM PC Soviet Era pictureComfortable Commodore II Oversize Leather Chair with Adjustable Headrest, New
$249.99
Comfortable Commodore II Oversize Leather Chair with Adjustable Headrest, New pictureNEW 8x FUJITSU MB8264A -15 DRAM 64kx1 164 4864 IC Apple II Commodore Oric IBM PC
$11.99
NEW 8x FUJITSU MB8264A -15 DRAM 64kx1 164 4864 IC Apple II Commodore Oric IBM PC pictureVintage Commodore Typewriter 1960's Simpson’s Canada with Case
$41.35
Vintage Commodore Typewriter 1960's Simpson’s Canada with Case pictureJelenko Commodore VPF Porcelain Oven with Vaccum Pump and Extras
$875.0
Jelenko Commodore VPF Porcelain Oven with Vaccum Pump and Extras picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.