Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: problem on MIME::Lite..please help

by samarzone (Pilgrim)
on Dec 10, 2010 at 07:43 UTC ( #876396=note: print w/replies, xml ) Need Help??

in reply to problem on MIME::Lite..please help

You are trying to send the email to literal '$id' not the email value inside variable $id. You have enclosed $id into single quotes which does not interpolate. Same for other variable $sdate. Use double quotes instead.


A few more things

  1. You could have used use strict to see that you have incorrectly written $account for $acc_no later in the message body
  2. You can also debug the mail using $msg->send(Debug => 1); which could have perhaps pointed you to solution
  3. Avoid writing actual email addresses (personal information, in broad definition) in public forums :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://876396]
[shmem]: thao4 example of the text and program missing in your post
[Eily]: also you can use <p> or <br /> tags to have multiple lines
[hippo]: Please also take a moment to read through I know what I mean. Why don't you? - this guidance will help others to help you.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2018-02-21 10:18 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (277 votes). Check out past polls.