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