Have a look at the mailsettings in site.ini. There is also an entry for EmailSender there.
[MailSettings]
AdminEmail= EmailSender=
I thought that this defaults to the admin email if not set but it looks like this is not the case. So add the correct email address in there and try again.
I have no clue about SMTP servers at all so no idea what is happening there. Unfortuntely I think that half of Europe is asleep by now so if it is really urgent have a look at the file \lib\ezutils\classes\ezsmtp.php maybe you can find it out yourself. Especially the function send() and send_data look interesting. Check the output and maybe compare it to other emails you sent via a non-EZ-script if you have something like this.
I tried to use sendmail, now I don't get any errors in error.log, but I still don't get any e-mails about new user registration. It's some kind of mystic:)
i have the same problem, when new user registered it doesn't show any error but i dont get any emails.
i have the following code,
$mail = new ezcMailComposer();
$subject = "Example of an HTML email with attachments";
$plainText = "Here is the text version of the mail. This is displayed if the client can not understand HTML";
$htmlText = "<html>Here is the HTML version of your mail with an image:</html>";
$mail->addTo( new ezcMailAddress( '"nshah2511@gmail.com"', 'nehal' ) );
$mail->from = new ezcMailAddress('nehal.b.shah.999@gmail.com','Nehal Shah');
$mail->subject = $subject;
$mail->plainText = $plainText;
$mail->htmlText = $htmlText;
$mail->build();
$transport = new ezcMailMtaTransport(); $transport->send( $mail );