Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. andy268

    How to change the email's "From" field?

    It still shows email address instead of the name. By the way, it always works inside the message. But in the "From" field, it is not working. $mailresult=&sendmail($fields{sender_name}, $fields{sender_email}, $fields{sender_email}, $fields{recip_email}, $SMTP_SERVER, $SUBJECT...
  2. andy268

    How to change the email's "From" field?

    Hello, thank you for your reply. Here is the completed script below. Please help me to define it. Thanks. #!/usr/local/bin/perl #set the line above this to your perl path. Usually fine as is # or /usr/local/bin/perl /sbin/perl # make certain that the first line stays the first line...
  3. andy268

    How to change the email's "From" field?

    Could you tell me how to define "$fromname" in the script? Thanks.
  4. andy268

    How to change the email's "From" field?

    I just added the one line code to the script. But it does not work , and it still shows an email address at the "From" field. ... $fromaddr =~ s/.*<([^\s]*?)>/$1/; # get from email address $fromaddr = '"' . $fromname . '" <' . $fromaddr . '>'; ... Thanks.
  5. andy268

    How to change the email's &quot;From&quot; field?

    Hello, I have an ecard script on my web site. Please see the script below. It works fine, but the email message always shows the "From" field is an email address. For example, - In the email inbox it shows The "From" field is an email address(web123@yahoo.com) not a person's name. - In the...

Part and Inventory Search

Back
Top