|We don't bite newbies here... much|
mail2sms for Kannelby Pizu (Initiate)
|on Nov 10, 2017 at 09:39 UTC||Need Help??|
Pizu has asked for the
wisdom of the Perl Monks concerning the following question:
I have created a mail server using postfix and created the catchall address. - so far so good.
Am looking for something that reads the below..
1) From Address(s) - Needed to verify the sender to continue in the script next steps..
2) Original To Address(s) - Example: email@example.com;firstname.lastname@example.org
Checks to be done on point 2, need to confirm that the To address contains 8 numbers @domain.com
If the above is matched..
I need remove the @domain.com and the number into a temp $mobilvariable and the subject into another $textvariable.
Then I can GET an HTTP request
my $request = new HTTP::Request('GET', $url);