My PHP account is hosted by the university. I want to send email to my gmail account and not the account tied to my PHP account. Is this possible?
nizbit 0 Junior Poster in Training
Recommended Answers
Jump to PostMost self respecting hosts deny you the right to do this as you could be sending spam from an anonymous(ish!) address. My favourite host insists that your email 'from' has the same domain address.
Jump to PostIt doesn't matter if you use pear or mail(), an email server configured to deny senders that do not have accounts on the mailserver will not send email with different sender addresses.
If your mail server sends email with sender addresses with accounts not on the server, then you …
Jump to PostI may be wrong, but when using Pear to send email, the script connects to the mail server and the mail is sent from there and not the server that is hosting the script.
You're definitely right. Pear Mail class allows you to connect to an SMTP server and send …
All 11 Replies
allincorporated 0 Newbie Poster
nizbit 0 Junior Poster in Training
allincorporated 0 Newbie Poster

diafol
allincorporated 0 Newbie Poster

diafol
allincorporated 0 Newbie Poster
digital-ether 399 Nearly a Posting Virtuoso Team Colleague
diafol commented: Aha - sense at last. Thought I was losing the plot. +6

diafol
allincorporated 0 Newbie Poster
digital-ether 399 Nearly a Posting Virtuoso Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.