/    Sign up×
Community /Pin to ProfileBookmark

mult. addresses in msg.setFrom ???

I am sending an e-mail that requires a reply. the e-mails appears to be from [email][email protected][/email] (not really, just using this for this post).

I want to add another address so that the e-mail appears to be from 2 addresses.

I need to do this so that when the recepient gets the e-mail and replies, the reply goes to 2 different addresses.

Does anyone know how to do this? I am using java servlets.

Is there another way?

THANKS!

to post a comment
Java

5 Comments(s)

Copy linkTweet thisAlerts:
@buntineJun 10.2005 — Seperate the email addresses with a semicolon.
Copy linkTweet thisAlerts:
@sanjuTauthorJun 10.2005 — doesn't work, no e-mail gets sent.
Copy linkTweet thisAlerts:
@OakJun 11.2005 — [FONT=Garamond]As far as I am aware, it is not possible to specify multiple senders for an email.

I believe this is a good decision for the protocol as a particular instance of a message can only really be sent from one place.

You can specify multiple recipients using the semi-colon delimiter, however If you use if for the sender the format will be considered invalid and the message will not send (Depending on the api used). In theory that is ?

Getting the email client you are sending the message to to reply to two addresses is most probably out of the question since you have no control over the way that application will operate.

Good luck anyway ?[/FONT]
Copy linkTweet thisAlerts:
@sanjuTauthorJun 13.2005 — thanks oak! ?
Copy linkTweet thisAlerts:
@OakJun 13.2005 — Glad to be of assistance sanjuT.

Its a pity because I can see that what you want to do would be useful ?
×

Success!

Help @sanjuT spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...