Reputation: 662
i need to create random/pseudo email address that will be delivered to a real email address.
Each of my registered client will have a unique & standard pseudo address to send there some specific formated emails. Example
Because the number of clients is big I can't manually add so many addresses. I need something dynamic.
All emails will be delivered to info@mydomain.com . Each email will be fetched with PHP, so probably I need IMAP access (cpanel,gmail)
How I can archive it? Example with random email here https://www.mail-tester.com/
I use cpanel.
Upvotes: 0
Views: 1260
Reputation: 662
The answer is to create through cpanel API forwarder https://confluence2.cpanel.net/display/SDK/UAPI+Functions+-+Email::add_forwarder
So actually email address not exists but cpanel forwarder will deliver the email on existing email account.
abcasdsa23423@mydom.com --> UserID:1 a24234a2343453453@mydom.com --> UserID:2 etc
Upvotes: 1
Reputation: 15693
Why do you need random? Your problem would seem to be solved by unique addresses. Just use integers: 0, 1, 2, 3, ... 827459, 827460, ... 28495723463 etc. Each number is unique and will not mean a lot to the recipient.
Upvotes: 0