Principal not working

Hi there,I’m in trouble with sending mails & “faking” the sender.

I wrote an autoresponder, which responds to mails sent by customers.

We have about 20 mail-adresses which point to one NSF. Depending on the incoming mail’s sendto-field, I want to send a mail with the same adress. So if a customer send a mail to “info@acme.com”, the response should be sent in the name of “info@acme.com”. This is my code (run after new mail has arrived):

response.sento = incomingMail.from(0)

response.principal = incomingMail.sendto(0)

response.replyto = incomingMail.sendto(0)

Nevertheless, the adress is not displayed - but respondung to that message works correct…

Any explanations for this behaviour?

Thanks,

Buzzy

Subject: Principal not working

did you also set INETFROM somewhere?

John

Subject: RE: Principal not working

Err, no I don’t think so…

I’ll give it a try, thanks!

Buzzy

Subject: RE: Principal not working

Hm, didn’t work :frowning:

Subject: RE: Principal not working

you can also set ReplyTo

Subject: RE: Principal not working

Aye, I already do so and it even works - it’s just the displayed name which drives my crazy :wink:

Thanks,

Buzzy