eshban
02-09-2008, 05:12 AM
hello,
i am just using this code to send email,
ini_set("SMTP","smtp.mydomain.com");
ini_set("smtp_port","25");
ini_set("sendmail_from","user@mydomain.com");
mail($To,$Subject,$Message,$From);
i have set the smtp settings through ini_set method, but i am unable to know that how can i set my SMTP USERNAME and SMTP PASSWORD through ini_set
Can anyone help me in writing the short code
Thanks
i am just using this code to send email,
ini_set("SMTP","smtp.mydomain.com");
ini_set("smtp_port","25");
ini_set("sendmail_from","user@mydomain.com");
mail($To,$Subject,$Message,$From);
i have set the smtp settings through ini_set method, but i am unable to know that how can i set my SMTP USERNAME and SMTP PASSWORD through ini_set
Can anyone help me in writing the short code
Thanks