Find the answer to your Linux question:
Results 1 to 9 of 9
I am not sure if this is the right forum to port this or not but here goes. I have a web / email server that I only have Cpanel ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    5

    Red face Processing emails

    I am not sure if this is the right forum to port this or not but here goes.

    I have a web / email server that I only have Cpanel access to. I can up load perl scripts to and setup jobs on, but no command line access.

    The issue I am having is that I am getting emails on the server to a specific email address. The emails have an HTML link in them to a web server. I need a way to read the email and parse out the link in the email and "get" the address in the email so the registration is completed and log the transaction them delete the email and the file from the "get" command. I would like to do this on the email server but I can setup a dedicated machine to do this if need be.

    This Is not for Spamming. It is to register my customers with the national do not call list. I have the first step automated but the second step of clicking on the link in the email that is sent from the do not call server is what I need help on.

    I am very strong windows / dos guy. and can stumble around linux I have setup basic linux servers and pc but nothing advanced.

    ANY HELP WOULD BE GREATLY APPRECIATED

    Thanks

  2. #2
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    I don't really understand what you are trying to do, but if you have the ability to install arbitrary perl scripts, then you can, of course, read your email (from a spool file, mailbox, or via POP) and process it in an arbitrary manner. On the other hand, it is unlikely that anyone here will do the work for you.
    Last edited by burschik; 10-24-2008 at 08:22 AM. Reason: typo

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    5
    Not asking for anyone to do this for me. I just want to know if it is do able through a perl script or something of that nature and if anyone could point me to some scripting examples. I have no idea where to start.

  4. #4
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    Of course it is possible, but you do not even specify how you intend to access the emails. Therefore, it is impossible to point you towards the required packages, or scripting examples.

  5. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    5
    The emails are in a mailbox on the server. I am not sure how to access them. that is the first problem.

  6. #6
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    Define "mailbox". Do you mean a file in your home directory, with a name like "mbox"? Or do you mean a POP account?

  7. #7
    Just Joined!
    Join Date
    Oct 2008
    Posts
    5
    It would be a POP account

  8. #8
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181

  9. #9
    Just Joined!
    Join Date
    Oct 2008
    Posts
    5
    Thank you, That is a great start.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...