PHP - Sending mail with through gmail?

ronny_guj

New Member
Is there any way to send mail from a gmail account to someone? And by "from" i mean so that it stores the email in the gmail inbox aswell...?I've tried using imap, but i'm not sure if that's the correct way? Either way i get this error:\[code\]Warning: imap_mail() [function.imap-mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\gmail\index.php on line 12\[/code\]Any idas how to achieve this?Thanks!
 
Back
Top