Re: imap_mail problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi  Paul,

Didn't use imap_mail but you can check out this

http://phpmailer.sourceforge.net/

I am currently using it and it works like a charm. Very easy to use and I do
not have problem like yours.

"Paul Aviles" <paul.aviles@xxxxxxxxx> wrote in message
news:001801c4e6f8$75d88ae0$9724050a@xxxxxxxxxxxxx
> Hello, I am having problems with this code below. The system is a FC1
server
> and it is supposed to send an email collecting some information of a
> computer. The problem I am having is with the "<" and ">" characters. When
> the $header variable is created, it does not work if you add the < and >
> characters. For some reason makes the whole string like null.  Has anyone
> seen this behaviour? If I try manually to send an email it does work and
php
> does have imap support on it.
>
> Thanks
>
> -pa
>
> <snip>
>
>  $header = "From: $fullNameField <admin@" . trim(`/bin/hostname --fqdn`) .
> ">";
>  $registrationAddress = "myname@xxxxxxxxxxxx";
>  $subject = "Registration ($productName)";
>  $message = "
> Full name: $fullNameField
> Title: $titleField
> Company: $companyField
> ";
>  // send email
>   imap_mail($registrationAddress, $subject, $message, $header);
>
> <snip>
>
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux